Skip to content

Commit 42b6a61

Browse files
committed
ok, I see what you're doing
1 parent b03d7c9 commit 42b6a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.fn.gantt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269

270270
element.gantt = $('<div class="fn-gantt" />').append(content);
271271

272-
$(element).html(element.gantt.html());
272+
$(element).empty().append(element.gantt);
273273

274274
element.scrollNavigation.panelMargin = parseInt($dataPanel.css("margin-left").replace("px", ""), 10);
275275
element.scrollNavigation.panelMaxPos = ($dataPanel.width() - $rightPanel.width());

0 commit comments

Comments
 (0)