ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.03k stars 1.2k forks source link

Removing previously added style tags before adding new one. #352

Open dasmall opened 10 years ago

dasmall commented 10 years ago

Hopefully fixes #211, #294 and #337 (saw this one after committing) where multiple style tags were being appended to the head el. The newly created tag contained the rules of previous tags so now they're removed before adding the newly generated style elements.

Illizian commented 10 years ago

:+1: Fixed issue for me

romgen commented 9 years ago

Is in current gridster code. This can be closed.

dsmorse commented 9 years ago

The changes should have been made in the /src version of the file then build into the /dist I corrected this when I merged it into my fork dsmorse/gridster.js