1"use strict"; 2jQuery(function($) { 3 function addNewStyle(newStyle) { 4 var styleElement = document.getElementById('styles_js'); 5 if (!styleElement) { 6 styleElement = document.createElement('style'); 7 styleElement.type = 'text/css'; 8 styleElement.id = 'styles_js'; 9 document.getElementsByTagName('head')[0].appendChild(styleElement); 10 } 11 styleElement.appendChild(document.createTextNode(newStyle)); 12 } 13 14 addNewStyle('.ls-wp-fullwidth-container, .ls-wp-fullwidth-helper, .ls-wp-container {height: ' + $(window).height() + 'px !important;}'); 15 //addNewStyle('@media (max-width: 1024px) {.ls-wp-fullwidth-container, .ls-wp-fullwidth-helper, .ls-wp-container {height: 300px !important;}}'); 16 addNewStyle('@media (max-width: 700px) {.ls-wp-fullwidth-container, .ls-wp-fullwidth-helper, .ls-wp-container {height: 300px !important;}}'); 17}) 18 19 20 /* Sticky menu */ 21
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.