Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
returns the generated code instead of echoing it
  • Loading branch information
BlueCocoa committed Sep 18, 2016
1 parent d9e842d commit d2fe670
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified dist/dplayer.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion dplayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public static function dplayer_load($atts = [], $content = null, $tag = '') {
$playerCode .= <<<EOF
<script>dPlayerOptions.push({$js});</script>
EOF;
echo $playerCode;
return $playerCode;
}

public static function add_script() {
Expand Down

0 comments on commit d2fe670

Please sign in to comment.