Skip to content

Commit

Permalink
pkp/pkp-lib#9753 [stable-3_3_0] Undo changes in jquery-ui path
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez authored and asmecher committed Sep 5, 2024
1 parent e150231 commit 19f0b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/themes/default/DefaultThemePlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function init() {
// Load jQuery from a CDN or, if CDNs are disabled, from a local copy.
$min = Config::getVar('general', 'enable_minified') ? '.min' : '';
$jquery = $request->getBaseUrl() . '/lib/pkp/lib/vendor/components/jquery/jquery' . $min . '.js';
$jqueryUI = $request->getBaseUrl() . '/lib/pkp/lib/vendor/jquery/ui/dist/jquery-ui' . $min . '.js';
$jqueryUI = $request->getBaseUrl() . '/lib/pkp/lib/vendor/components/jqueryui/jquery-ui' . $min . '.js';
// Use an empty `baseUrl` argument to prevent the theme from looking for
// the files within the theme directory
$this->addScript('jQuery', $jquery, array('baseUrl' => ''));
Expand Down

0 comments on commit 19f0b15

Please sign in to comment.