Skip to content

Commit 8887610

Browse files
committed
Plugin: H5P: Fix typo to include missing jquery-ui - refs BT#22647
1 parent d103759 commit 8887610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/h5p/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
$webPath = api_get_path(WEB_PATH);
2020
if ($ctrAction == 'edit_item' || $ctrAction == 'add_item') {
2121
$fh .= '<script src="'.$pluginPath.'h5p/resources/js/h5p_extras.js'.$version.'" type="text/javascript" ></script>';
22-
$fh .= '<script>if (!jQuery.ui) {'."$('body').append('<script src=\"".$webPath."web/assets/jquery-ui/jquery-ui.min.js\"></script>');}</script>";
22+
$fh .= '<script>if (!jQuery.ui) {'."$('body').append('<script src=\"".$webPath."web/assets/jquery-ui/jquery-ui.min.js\"><\/script>');}</script>";
2323
$fh .= '<link rel="stylesheet" type="text/css" href="'.$webPath.'web/assets/jquery-ui/themes/smoothness/jquery-ui.min.css">';
2424
$fh .= '<link rel="stylesheet" type="text/css" href="'.$pluginPath.'h5p/resources/css/window-h5p.css">';
2525
}

0 commit comments

Comments
 (0)