Skip to content

Commit

Permalink
fix(gridster): Removing previously added style tags before adding new…
Browse files Browse the repository at this point in the history
… one.

Hopefully fixes #211 and #294.
  • Loading branch information
dasmall authored and vieron committed Jun 16, 2014
1 parent dd6c742 commit 93c46ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dist/jquery.gridster.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down
Loading

0 comments on commit 93c46ff

Please sign in to comment.