1jQuery(document).ready(function($){ 2 var $bar = $('#px-nft-bar'); 3 4 if($bar.length){ 5 var position = $bar.hasClass('top') ? 'top' : 'bottom'; 6 setTimeout(function(){ 7 $bar.css('transform', 'translateY(0)'); 8 }, 200); 9 10 $bar.find('.px-nft-close').on('click', function(){ 11 if(position === 'top'){ 12 $bar.css('transform', 'translateY(-120%)'); 13 } else { 14 $bar.css('transform', 'translateY(120%)'); 15 } 16 setTimeout(function(){ $bar.remove(); }, 500); 17 }); 18 } 19}); 20 21jQuery(document).ready(function($) { 22 var position = $('select[name="px_nft_settings[element_position]"]').val(); 23 $('#px-nft-bar .px-nft-inner').addClass(position); 24 25 $('select[name="px_nft_settings[element_position]"]').on('change', function() { 26 var newPosition = $(this).val(); 27 $('#px-nft-bar .px-nft-inner').removeClass('left center right').addClass(newPosition); 28 }); 29});
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.