We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
document.head
1 parent 5f12720 commit 2166ecaCopy full SHA for 2166eca
lib/grunt/utils.js
@@ -116,7 +116,7 @@ module.exports = {
116
.replace(/\\/g, '\\\\')
117
.replace(/'/g, "\\'")
118
.replace(/\r?\n/g, '\\n');
119
- js = "!window.angular.$$csp() && window.angular.element(document).find('head').prepend('<style type=\"text/css\">" + css + "</style>');";
+ js = "!window.angular.$$csp() && window.angular.element(document.head).prepend('<style type=\"text/css\">" + css + "</style>');";
120
state.js.push(js);
121
122
return state;
0 commit comments