1var newHash = location.hash; 2if("onhashchange" in window){ 3 $(window).bind('hashchange', function(){ 4 var newHash = location.hash; 5 6 if(newHash){ 7 if('scrollRestoration' in history){ 8 history.scrollRestoration = 'manual'; 9 } 10 11 if($('.tabs.tabs-history .nav a[href="'+newHash+'"]').length){ 12 $('.tabs.tabs-history .nav a[href="'+newHash+'"]').trigger('click'); 13 14 var $block = $(newHash); 15 if($block.length){ 16 if ($block.closest('.tab-pane').length) { 17 var offset = -206; 18 if (typeof arAsproOptions !== 'undefined') { 19 offset = window.matchMedia("(max-width:991px)").matches ? (arAsproOptions.THEME.HEADER_MOBILE_FIXED !== 'Y' || arAsproOptions.THEME.HEADER_MOBILE_SHOW !== 'ALWAYS' ? -187+62 : -187) : (arAsproOptions.THEME.TOP_MENU_FIXED !== 'Y' ? -206+81 : -206); 20 } 21 22 $block.data('offset', offset); 23 } 24 25 scrollToBlock(newHash); 26 } 27 else{ 28 if($('.ordered-block .tabs').length){ 29 var content_offset = $('.ordered-block .tabs').offset(); 30 $('html, body').animate({scrollTop: content_offset.top - 90}, 400); 31 } 32 } 33 } 34 } 35 }); 36} 37 38$(document).on('click', '.tabs.tabs-history a[data-toggle=tab]', function(e){ 39 var $this = $(e.target); 40 41 if( 42 typeof history !== 'undefined' && 43 $this.attr('href') 44 ){ 45 history.pushState({}, "", $this.attr('href')); 46 } 47});
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.