1/* 2 3========================================================= 4* Swipe - Mobile App One Page Bootstrap 5 Template 5========================================================= 6 7* Product Page: https://themesberg.com/product/bootstrap/swipe-free-mobile-app-one-page-bootstrap-5-template 8* Copyright 2019 Themesberg (https://www.themesberg.com) 9 10* Coded by https://themesberg.com 11 12========================================================= 13 14* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Contact us if you want to remove it. 15 16*/ 17 18"use strict"; 19const d = document; 20d.addEventListener("DOMContentLoaded", function(event) { 21 22 if (d.querySelector('.headroom')) { 23 var headroom = new Headroom(document.querySelector("#navbar-main"), { 24 offset: 0, 25 tolerance: { 26 up: 0, 27 down: 0 28 }, 29 }); 30 headroom.init(); 31 } 32 33 // Tooltips 34 var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-toggle="tooltip"]')) 35 var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { 36 return new bootstrap.Tooltip(tooltipTriggerEl) 37 }) 38 39 // Popovers 40 var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-toggle="popover"]')) 41 var popoverList = popoverTriggerList.map(function (popoverTriggerEl) { 42 return new bootstrap.Popover(popoverTriggerEl) 43 }) 44 45 var scroll = new SmoothScroll('a[href*="#"]', { 46 speed: 500, 47 speedAsDuration: true 48 }); 49 50 d.querySelector('.current-year').textContent = new Date().getFullYear(); 51 52});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.