We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4b50ab commit 56ab3beCopy full SHA for 56ab3be
Gruntfile.js
@@ -436,7 +436,7 @@ module.exports = function(grunt) {
436
.replace(/\\/g, '\\\\')
437
.replace(/'/g, "\\'")
438
.replace(/\r?\n/g, '\\n');
439
- js = `angular.module('ui.bootstrap.${moduleName}').run(function() {!angular.$$csp().noInlineStyle && angular.$$uibInjectCss && angular.element(document).find('head').prepend('<style type="text/css">${css}</style>'); });`;
+ js = `angular.module('ui.bootstrap.${moduleName}').run(function() {!angular.$$csp().noInlineStyle && !angular.$$uibCss && angular.element(document).find('head').prepend('<style type="text/css">${css}</style>'); angular.$$uibCss = true; });`;
440
state.js.push(js);
441
442
return state;
0 commit comments