1/** 2 * Desktop JavaScript file for the WordPres theme 3 * 4 * This file gets loaded for users browsing on desktop. 5 * 6 * @license No license 7 * (Without a license, the code is copyrighted by default. 8 * People can read the code, but they have no legal right to use 9 * it. To use the code, you must contact the author directly and 10 * ask permission.) 11 * 12 * @author Velten Media 13 * @link http://www.veltenmedia.nl 14 * @email [email protected] 15 * 16 * @file desktop.js 17 * 18 * @copyright (C) 2015, Velten Media 19 */ 20 21jQuery(document).ready(function($){ 22 23 // Category Filter 24 var $window = $(window); 25 function checkWidth() { 26 var windowsize = $window.width(); 27 if (windowsize > 690) { 28 $('.category-filter, .stages-filter-trigger').stick_in_parent({ offset_top: 64, bottoming: true }); 29 } else { 30 $('.category-filter, .stages-filter-trigger').stick_in_parent({ offset_top: 54, bottoming: true }); 31 } 32 } 33 checkWidth(); 34 $(window).resize(checkWidth); 35 36 // Sidebar 37 $('#page-sidebar .inner-sidebar').stick_in_parent({ offset_top: 64, bottoming: true }); 38 39 40});
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.