Browse Source

Fixed warning message

fixDataView
jos 9 years ago
parent
commit
9605e5c6b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/timeline/component/CurrentTime.js

+ 1
- 1
lib/timeline/component/CurrentTime.js View File

@ -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

Loading…
Cancel
Save