1(function( $ ) { 2 'use strict'; 3 4 $( document ).ready(function() { 5 6 if ( $('.woocommerce-pagination li:first a').hasClass( "prev" ) ){ 7 $('.woocommerce-pagination li:first').addClass('woo-first-page'); 8 } 9 if ( $('.woocommerce-pagination li:last a').hasClass( "next" ) ){ 10 $('.woocommerce-pagination li:last').addClass('woo-last-page'); 11 } 12 13 14 if ( $('.woocommerce-pagination .woo-last-page').length == 0 ){ 15 $('.woocommerce-pagination .woo-first-page').parent().append( $('.woocommerce-pagination .woo-first-page') ); 16 }else{ 17 $('.woocommerce-pagination .woo-first-page').insertBefore( ".woocommerce-pagination .woo-last-page" ); 18 } 19 }); 20 21})( jQuery ); 22 23
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.