Skip to content

Commit eb1b422

Browse files
committed
Added trailing semicolon to ScriptObject JS output
1 parent 129e8bf commit eb1b422

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/ScriptObject.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ private function save( $type, $args, $external = false ) { // , $update = false
139139

140140
}
141141
if( !$content ) return false;
142+
$content .= ';';
142143

143144
// If we're not writing an external file, simply inject into head
144145
if( !$external ) {

0 commit comments

Comments
 (0)