fix(gridster): Removing previously added style tags before adding new one.

Hopefully fixes #211 and #294.
This commit is contained in:
David Small
2014-06-16 16:59:20 +02:00
committed by vieron
parent dd6c742008
commit 93c46ff45e
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -3592,6 +3592,8 @@
(x * opts.widget_base_dimensions[0] +
(x - 1) * (opts.widget_margins[0] * 2)) + 'px; }\n');
}
this.remove_style_tags();
return this.add_style_tag(styles);
};
+1 -2
View File
File diff suppressed because one or more lines are too long
Regular → Executable
+2
View File
@@ -2795,6 +2795,8 @@
(x - 1) * (opts.widget_margins[0] * 2)) + 'px; }\n');
}
this.remove_style_tags();
return this.add_style_tag(styles);
};