http://trac.tiddlywiki.org/changeset/12130

MartinBudden
2010-05-13 07:53:57 -0700 (Thu, 13 May 2010)
45
TiddlyWiki - minor fix to stylesheet handling

---------------

U   Trunk/core/jquery/plugins/jQuery.twStylesheet.js

---------------

Modified: Trunk/core/jquery/plugins/jQuery.twStylesheet.js
===================================================================
--- Trunk/core/jquery/plugins/jQuery.twStylesheet.js    2010-05-13 10:19:50 UTC 
(rev 12129)
+++ Trunk/core/jquery/plugins/jQuery.twStylesheet.js    2010-05-13 14:53:57 UTC 
(rev 12130)
@@ -34,7 +34,7 @@
                        el.parentNode.removeChild(el);
                }
                
doc.getElementsByTagName("head")[0].insertAdjacentHTML("beforeEnd",
-                       "&nbsp;<style id='" + id + "'>" + css + "</style>"); // 
fails without &nbsp;
+                       '&nbsp;<style id="' + id + '" type="text/css">' + css + 
'</style>'); // fails without &nbsp;
        } else { // modern browsers
                if(el) {
                        el.replaceChild(doc.createTextNode(css), el.firstChild);

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to