Skip to content

Commit

Permalink
Fixed a bug which made the script method incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Darrigade committed Jan 15, 2018
1 parent 72143e0 commit 09fccc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class/class-sqweb-build-script.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function generate() {
));

$output = '<script src="https://cdn.multipass.net/mltpss.min.js" type="text/javascript"></script>' . PHP_EOL;
$output .= '<script>/* SQweb v' . ( defined( 'SQW_VERSION' ) ? SQW_VERSION : '2.8.2' ) . ' */ var mltpss = new Multipass.default($settings);</script>';
$output .= '<script>/* SQweb v' . ( defined( 'SQW_VERSION' ) ? SQW_VERSION : '2.8.2' ) . ' */ var mltpss = new Multipass.default(' . $settings . ');</script>';

echo $output;
}
Expand Down

0 comments on commit 09fccc1

Please sign in to comment.