|
@ -91,7 +91,7 @@ CurrentTime.prototype.redraw = function() { |
|
|
var locale = this.options.locales[this.options.locale]; |
|
|
var locale = this.options.locales[this.options.locale]; |
|
|
if (!locale) { |
|
|
if (!locale) { |
|
|
if (!this.warned) { |
|
|
if (!this.warned) { |
|
|
console.log('WARNING: options.locales[\'' + this.options.locale + '\'] not found. See http://visjs.org/docs/timeline.html#Localization'); |
|
|
|
|
|
|
|
|
console.log('WARNING: options.locales[\'' + this.options.locale + '\'] not found. See http://visjs.org/docs/timeline/#Localization'); |
|
|
this.warned = true; |
|
|
this.warned = true; |
|
|
} |
|
|
} |
|
|
locale = this.options.locales['en']; // fall back on english when not available
|
|
|
locale = this.options.locales['en']; // fall back on english when not available
|
|
|