Skip to content

Conversation

andreas-trad
Copy link

If the autogenerate_stylesheet option is set to true then the library is adding multiple times the same style on the head of the document (see the source of the http://gridster.net/demos/adding-widgets-dynamically.html demo in order to observe this). With this correction the gridster style element is only inserted once on the head

If the autogenerate_stylesheet option is set to true then the library is adding multiple times the same style on the head of the document (see the source of the http://gridster.net/demos/adding-widgets-dynamically.html demo in order to observe this). With this correction the gridster style element is only inserted once on the style.
@dsmorse
Copy link

dsmorse commented Apr 8, 2015

Looks great I merged it into my fork dsmorse/gridster.js

@dsmorse
Copy link

dsmorse commented Apr 12, 2015

Just as an FYI, this causes a problem is you use multiple namespaces... I'm working a fix for my fork.

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.

2 participants