diff --git a/scripts/build.sh b/scripts/build.sh index 3f9bcc9..1152f39 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -15,7 +15,7 @@ cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/css/all.min.css $STATI cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/webfonts $STATIC_BUILD cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.js -cp $BASEDIR/node_modules/lightgallery/dist/js/lightgallery.js $STATIC_BUILD/js/lightgallery.js +cp $BASEDIR/node_modules/lightgallery/dist/js/lightgallery-all.min.js $STATIC_BUILD/js/lightgallery.js cp $BASEDIR/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.js cp $BASEDIR/node_modules/mermaid/dist/mermaid.min.js $STATIC_BUILD/js/mermaid.js diff --git a/static/src/js/index.js b/static/src/js/index.js index 475445e..fdc6dff 100644 --- a/static/src/js/index.js +++ b/static/src/js/index.js @@ -26,10 +26,10 @@ $(document).ready(function() { waitFor($.fn, 'lightGallery', function() { $('#light-gallery').lightGallery({ thumbnail: true, - animateThumb: false, + animateThumb: true, showThumbByDefault: false, - preload: 2, download: false, + share: false, }); });