]> _ Git - odl.git/commitdiff
wip #5201 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 30 Mar 2022 14:53:33 +0000 (16:53 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 30 Mar 2022 14:53:33 +0000 (16:53 +0200)
resources/views/front/resources.blade.php

index 43c0ccc325980dc55d7cb6725c3105ee8fa851ce..456ee65203fabd552bc515410bdc7079e9016ae8 100644 (file)
                 init() {
                     let $this = this;
 
-                    // Apply smooth scrolling to all anchor links on this page
-                    this.scroll = new SmoothScroll('a[href*="#"]', {
-                        offset: 24 // Leave some space above the heading when scrolling to it
-                    });
-
                     // Delay initialisation of Gumshoe to allow entrance animations to happen
                     // Otherwise, it will get confused and select the last item because content was out of view
                     setTimeout(() => {