From 00cfc09dcec273ef511bdcc2ac7e39f8a007f9ac Mon Sep 17 00:00:00 2001 From: Chris Hallberg Date: Fri, 12 Jan 2024 16:18:22 -0500 Subject: [PATCH] fix: load carousels submodule where we need it. --- .../bootstrap3/templates/RecordTab/similaritemscarousel.phtml | 3 ++- themes/bootstrap3/templates/channels/channelList.phtml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/bootstrap3/templates/RecordTab/similaritemscarousel.phtml b/themes/bootstrap3/templates/RecordTab/similaritemscarousel.phtml index 65dee5ca05f..fb63794e46b 100644 --- a/themes/bootstrap3/templates/RecordTab/similaritemscarousel.phtml +++ b/themes/bootstrap3/templates/RecordTab/similaritemscarousel.phtml @@ -1,7 +1,8 @@ headScript()->appendFile('vendor/splide.min.js'); $this->headLink()->appendStylesheet('vendor/splide.min.css'); + $this->headScript()->appendFile('vendor/splide.min.js'); + $this->headScript()->appendFile('carousels.js'); ?>

transEsc('Similar Items')?>

diff --git a/themes/bootstrap3/templates/channels/channelList.phtml b/themes/bootstrap3/templates/channels/channelList.phtml index 552c388d472..efa13108349 100644 --- a/themes/bootstrap3/templates/channels/channelList.phtml +++ b/themes/bootstrap3/templates/channels/channelList.phtml @@ -1,6 +1,7 @@ headLink()->appendStylesheet('vendor/splide.min.css'); $this->headScript()->appendFile('vendor/splide.min.js'); + $this->headScript()->appendFile('carousels.js'); $this->headScript()->appendFile('channels.js'); $this->jsTranslations()->addStrings([ 'channel_browse' => 'channel_browse',