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 committed Jul 18, 2024
1 parent bf92cc7 commit 69bcb61
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 69bcb61

Please sign in to comment.