1!function ($) { 2 3 var register = function(){ 4 updateStyle(); 5 $(document).on('jalios:refresh', updateStyle); 6 } 7 8 var updateStyle = function() { 9 $('.table-data th .sort-link').each(function( index ) { 10 var $th = $(this).closest('th'); 11 var isActive = $(this).find('.pager-sort-active').exists(); 12 $th.addClass('th-sort').addClass(isActive ? "th-sort-active" : "th-sort-inactive"); 13 }); 14 } 15 16 // ------------------------------------------ 17 // PUBLIC 18 // ------------------------------------------ 19 20 // Plugin initialization on DOM ready 21 $(document).ready(function($) { 22 register(); 23 }); 24 25}(window.jQuery);
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.