1var additional = { 2 3 init: function() { 4 // Fix for IE6-7 image link problem.. 5 // Image links in record lists are unclickable in IE6/7 6 if (navigator.userAgent.indexOf('MSIE 7') > -1 || navigator.userAgent.indexOf('MSIE 6') > -1) { 7 8 $('div.records_list a span.image img').click(function() { 9 var parent_a = $(this).parents('a'); 10 if (!parent_a.hasClass('image_popup')) { 11 window.location.href = parent_a.attr('href'); 12 } 13 14 }) 15 16 } 17 18 if ($('[data-main-content-record-id]').length) { 19 var record_id_value = $('[data-main-content-record-id]').attr('data-main-content-record-id'); 20 if (record_id_value && typeof record_id_value != 'undefined') { 21 $('body').addClass('page-content-record-id-' + String(record_id_value)); 22 } 23 } 24 } 25 26} 27 28window.galleries = window.galleries || {}; 29window.galleries.additional = additional; 30export default additional;
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.