diff --git a/lib/timeline/Core.js b/lib/timeline/Core.js index abe4aa8aef..7da1a5ae62 100644 --- a/lib/timeline/Core.js +++ b/lib/timeline/Core.js @@ -67,6 +67,7 @@ class Core { this.dom.shadowTopRight.className = "vis-shadow vis-top"; this.dom.shadowBottomRight.className = "vis-shadow vis-bottom"; this.dom.rollingModeBtn.className = "vis-rolling-mode-btn"; + this.dom.rollingModeBtn.style.visibility = "hidden"; this.dom.loadingScreen.className = "vis-loading-screen"; this.dom.root.appendChild(this.dom.background); @@ -496,7 +497,6 @@ class Core { "snap", ]; util.selectiveExtend(fields, this.options, options); - this.dom.rollingModeBtn.style.visibility = "hidden"; if (this.options.rtl) { this.dom.container.style.direction = "rtl";