Skip to content

Commit

Permalink
loader_type_bundle: append loaded css to the end of head (close #808)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfilatov committed Jan 19, 2015
1 parent 8fa8beb commit b25415c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.blocks/loader/_type/loader_type_bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var LOADING_TIMEOUT = 20000,
appendCss = function(css) {
var style = doc.createElement('style');
style.type = 'text/css';
head.insertBefore(style, head.firstChild); // ie needs to insert style before setting content
head.appendChild(style); // ie needs to insert style before setting content
style.styleSheet?
style.styleSheet.cssText = css :
style.appendChild(doc.createTextNode(css));
Expand Down

0 comments on commit b25415c

Please sign in to comment.