PageSourceSearch

https://lternet.edu/wp-content/cache/min/1/wp-content/themes/ndic/library/js/scripts.js?ver=1790055687

js lternet.edu collected 2026-09-24 08:42:20 UTC 1,952 bytes, 7 lines download raw bytes

1function updateViewportDimensions(){var w=window,d=document,e=d.documentElement,g=d.getElementsByTagName('body')[0],x=w.innerWidth||e.clientWidth||g.clientWidth,y=w.innerHeight||e.clientHeight||g.clientHeight;return{width:x,height:y}}
2var viewport=updateViewportDimensions();var waitForFinalEvent=(function(){var timers={};return function(callback,ms,uniqueId){if(!uniqueId){uniqueId="Don't call this twice without a uniqueId"}
3if(timers[uniqueId]){clearTimeout(timers[uniqueId])}
4timers[uniqueId]=setTimeout(callback,ms)}})();var timeToWaitForLast=100;function loadGravatars(){viewport=updateViewportDimensions();if(viewport.width>=768){jQuery('.comment img[data-gravatar]').each(function(){jQuery(this).attr('src',jQuery(this).attr('data-gravatar'))})}}
5function lter_setup_directory_autocomplete(){if((typeof lter_user_names!='undefined')&&lter_user_names){jQuery('.page-directory #uname').autocomplete({source:lter_user_names})}}
6jQuery(document).ready(function($){$('#site-header .menu-search-icon').on('click',function(e){e.preventDefault();$('#searchform').slideToggle()});loadGravatars();$('.read-more-content').addClass('hide')
7$('.read-more').on('click',function(e){e.preventDefault();$(this).closest('.collapse-content').find('.read-less-content').addClass('hide');$(this).closest('.collapse-content').find('.read-more-content').removeClass('hide')});$('.read-less').on('click',function(e){e.preventDefault();$(this).closest('.collapse-content').find('.read-more-content').addClass('hide');$(this).closest('.collapse-content').find('.read-less-content').removeClass('hide')});$('.collapse-height-foot a').on('click',function(e){e.preventDefault();$(this).closest('.collapse-height').addClass('expanded')});$('#site-header .dropdown').hover(function(){$(this).find('.dropdown-content').stop(!0,!0).delay(200).fadeIn(500)},function(){$(this).find('.dropdown-content').stop(!0,!0).delay(200).fadeOut(500)});lter_setup_directory_autocomplete()})

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.