We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
document.head
1 parent 9ea52d8 commit 14e0b9cCopy full SHA for 14e0b9c
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