Skip to content

Commit 93c46ff

Browse files
dasmallvieron
authored andcommitted
fix(gridster): Removing previously added style tags before adding new one.
Hopefully fixes #211 and #294.
1 parent dd6c742 commit 93c46ff

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

dist/jquery.gridster.js

+2
Original file line numberDiff line numberDiff line change
@@ -3592,6 +3592,8 @@
35923592
(x * opts.widget_base_dimensions[0] +
35933593
(x - 1) * (opts.widget_margins[0] * 2)) + 'px; }\n');
35943594
}
3595+
3596+
this.remove_style_tags();
35953597

35963598
return this.add_style_tag(styles);
35973599
};

0 commit comments

Comments
 (0)