diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 0b732dc2c..bb5565768 100755 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -2907,10 +2907,12 @@ if (tag.styleSheet) { tag.styleSheet.cssText = css; - } else { + } + else{ tag.appendChild(document.createTextNode(css)); } + this.remove_style_tags(); this.$style_tags = this.$style_tags.add(tag); return this;