Browse Source

Merge pull request #1998 from dejvo/develop

Fix incorrect documentation URL
codeClimate
Ludo Stellingwerff 8 years ago
committed by GitHub
parent
commit
727b5c2dc7
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];
if (!locale) {
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;
}
locale = this.options.locales['en']; // fall back on english when not available

Loading…
Cancel
Save