chore: bump version

This commit is contained in:
Safwan Samsudeen 2025-01-16 11:55:20 +05:30
parent c151416048
commit 2850787e72
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "frappe-gantt", "name": "frappe-gantt",
"version": "1.0.0", "version": "1.0.1",
"description": "A simple, modern, interactive gantt library for the web", "description": "A simple, modern, interactive gantt library for the web",
"main": "src/index.js", "main": "src/index.js",
"type": "module", "type": "module",

View File

@ -240,7 +240,7 @@ export default class Gantt {
this.setup_dates(maintain_pos); this.setup_dates(maintain_pos);
this.render(); this.render();
if (maintain_pos) { if (maintain_pos) {
this.$container.scrollLeft =old_pos; this.$container.scrollLeft = old_pos;
this.options.scroll_to = old_scroll_op; this.options.scroll_to = old_scroll_op;
} }
this.trigger_event('view_change', [mode]); this.trigger_event('view_change', [mode]);