Skip to content

Commit 129e8bf

Browse files
committed
Fixed bug with CSS tag elements
1 parent d11374f commit 129e8bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/ScriptObject.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ private function save( $type, $args, $external = false ) { // , $update = false
133133

134134
foreach( $this->values as $key => $css ) {
135135

136-
$explicit = strstr ( $key, '.' ) || strstr ( $key, '#' );
137-
$content .= ( $explicit ? $key : '.' . $key ) . ' { ' . $css . ' }' . ( $external ? "\n" : '' );
136+
$content .= $key . ' { ' . $css . ' }' . ( $external ? "\n" : '' );
138137

139138
}
140139

0 commit comments

Comments
 (0)