Skip to content

Commit 6d672d7

Browse files
committed
Do not do CSS while initializing
Closes #271 #232
1 parent bd23623 commit 6d672d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

class-titan-framework.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,9 @@ public function createWidgetArea( $settings ) {
502502
}
503503

504504
public function createCSS( $CSSString ) {
505+
if ( self::$initializing ) {
506+
return;
507+
}
505508
$this->cssInstance->addCSS( $CSSString );
506509
}
507510

0 commit comments

Comments
 (0)