Permalink
Browse files

rename parameter to be consistent with ao_noptimize

  • Loading branch information...
1 parent 7e8185a commit 62a5bb942715c2f92d30c5dfaab2244b7d14079a @futtta committed Jan 9, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/autoptimizeStyles.php
@@ -518,7 +518,7 @@ public function getcontent() {
}
} else {
if ($this->defer == true) {
- $deferredCssBlock = "<script data-cfasync='false'>function lCss(url,media) {var d=document;var l=d.createElement('link');l.rel='stylesheet';l.type='text/css';l.href=url;l.media=media;aoin=d.getElementById('aonoscrcss');if(window.location.href.indexOf('aoloaddeferedcss=false') === -1){aoin.parentNode.insertBefore(l,aoin.nextSibling);}}function deferredCSS() {";
+ $deferredCssBlock = "<script data-cfasync='false'>function lCss(url,media) {var d=document;var l=d.createElement('link');l.rel='stylesheet';l.type='text/css';l.href=url;l.media=media;aoin=d.getElementById('aonoscrcss');if(window.location.href.indexOf('ao_nodeferredcss=1') === -1){aoin.parentNode.insertBefore(l,aoin.nextSibling);}}function deferredCSS() {";
$noScriptCssBlock = "<noscript id=\"aonoscrcss\">";
$defer_inline_code=$this->defer_inline;
if(!empty($defer_inline_code)){

0 comments on commit 62a5bb9

Please sign in to comment.