Skip to content

Commit

Permalink
Removing previously added style tags before adding new one.
Browse files Browse the repository at this point in the history
Hopefully fixes ducksboard#211 and ducksboard#294.
  • Loading branch information
dasmall committed Apr 10, 2014
1 parent a4f3baf commit 1c3659c
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 1c3659c

Please sign in to comment.