1/** 2 * Smooth Scroll. 3 * 4 * Scrolls to the select 5 * 6 * @package Glamour Theme 7 * @author Restored 316 // Lauren Gaige 8 * @license GPL-2.0-or-later 9 * @link http://www.restored316designs.com/ 10 */ 11var restored=restored||{};restored.smoothScroll=(function($){'use strict';var scrollSpeed=1000,scrollTo=function(clickedLink,event){var target=$(clickedLink.hash);if(window.location.hostname!==clickedLink.hostname){return} 12if(window.location.pathname!==clickedLink.pathname){return} 13if(0===target.length){target=$('[name='+clickedLink.hash.slice(1)+']')} 14if(0<target.length){$('html,body').animate({scrollTop:target.offset().top},scrollSpeed)} 15event.preventDefault()},init=function(){$('a[href*="#"]:not([href="#"])').click(function(event){scrollTo(this,event)})};return{init:init}}(jQuery));jQuery(restored.smoothScroll.init)
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.