Browse Source

Fix incorrect documentation URL

codeClimate
David Nemcok 8 years ago
parent
commit
9d30222491
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/timeline/component/CustomTime.js

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

@ -118,7 +118,7 @@ CustomTime.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