diff --git a/package.json b/package.json index e6511d8..92d36ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "frappe-gantt", - "version": "1.0.0", + "version": "1.0.1", "description": "A simple, modern, interactive gantt library for the web", "main": "src/index.js", "type": "module", diff --git a/src/index.js b/src/index.js index 2f92243..088c29d 100644 --- a/src/index.js +++ b/src/index.js @@ -240,7 +240,7 @@ export default class Gantt { this.setup_dates(maintain_pos); this.render(); if (maintain_pos) { - this.$container.scrollLeft =old_pos; + this.$container.scrollLeft = old_pos; this.options.scroll_to = old_scroll_op; } this.trigger_event('view_change', [mode]);