mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-04-27 07:40:52 -07:00
Fixed issue with applying stylesheets on IE
This commit is contained in:
parent
de979a3af2
commit
bbb817d18d
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ utils.applyStyleSheet = function(id,css) {
|
|||
if(el) {
|
||||
el.parentNode.removeChild(el);
|
||||
}
|
||||
doc.getElementsByTagName("head")[0].insertAdjacentHTML("beforeEnd",
|
||||
document.getElementsByTagName("head")[0].insertAdjacentHTML("beforeEnd",
|
||||
' <style id="' + id + '" type="text/css">' + css + '</style>'); // fails without
|
||||
} else { // Modern browsers
|
||||
if(el) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue