Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dasmall
Copy link
Contributor

@dasmall dasmall commented Apr 10, 2014

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
Copy link

👍 Fixed issue for me

@romgen
Copy link

romgen commented Mar 12, 2015

Is in current gridster code. This can be closed.

@dsmorse
Copy link

dsmorse commented Apr 8, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gridster spawns new <style> block everytime widget added when "autogenerate_stylesheet" = true
4 participants