1$(document).on('submit', 'form[name=dl_link]', function (e) { 2 var evt = e || window.event; 3 evt.preventDefault(); 4 evt.stopPropagation(); 5 var link = $(this).children('select').val(); 6 link = link.replace(/\s/g, "%20"); 7 var ext = link.substr((link.lastIndexOf('.') + 1)); 8 if (ext === 'pdf') { 9 window.open(link); 10 } else { 11 window.location.href = link; 12 } 13}); 14 15 16//jQuery(document).ready(function($) { 17 18 //var $container = $('#doujinshi-list'); 19 var containerEl = document.querySelector('#doujinshi-list'); 20 21var mixer = mixitup(containerEl, { 22 controls: { 23 toggleLogic: 'and', 24 toggleDefault: 'none' 25 }, 26 pagination: { 27 limit: 50 28 } 29}); 30 // Instantiate MixItUp: 31// $container.mixItUp({ 32// var mixer = mixitup(containerEl, { 33// animation: { 34// animateChangeLayout: false, 35// animateResizeTargets: false 36// }, 37// layout: { 38// containerClass: layout 39// }, 40// load: { 41// sort: 'title:asc' 42// } 43// }); 44 45 46$(".sort").on("click", function() { 47 $(".sort").removeClass("active"); 48 $(this).addClass("active"); 49});
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.