1 2(function ( $ ) { 3 4 $.fn.modal = function() { 5 this.css({'z-index': 99999}).slideDown(function () { 6 $(this).addClass('show'); 7 }); 8 let modal = this; 9 this.after('<div class="modal-backdrop fade show wpdm-mbd" style="z-index: 9999;transition: all ease-in-out 400ms"></div>'); 10 modal.trigger('shown.bs.modal'); 11 this.find('[data-dismiss="modal"]').on('click', function(e) { 12 modal.removeClass('show').slideUp(function () { 13 modal.trigger('hidden.bs.modal'); 14 }); 15 jQuery('.wpdm-mbd').remove(); 16 }) 17 }; 18 19 $.fn.tooltip = function() {}; 20 21}( jQuery )); 22 23jQuery(function($) { 24 $body = $('body'); 25 $body.on('click', '[data-toggle="collapse"]', function(e) { 26 e.preventDefault(); 27 $($(this).attr('href')).slideToggle(); 28 }); 29 $body.on('click', '[data-toggle="modal"]', function(e) { 30 e.preventDefault(); 31 $($(this).data('target')).modal('show'); 32 }); 33 $body.on('click', '[data-toggle="tab"]', function(e) { 34 e.preventDefault(); 35 const $tabs = $(this).parents('.nav-tabs'); 36 $tabs.find('a').each(function() { 37 $(this).removeClass('active'); 38 $($(this).attr('href')).removeClass('active'); 39 }); 40 $(this).addClass('nav-link active'); 41 $($(this).attr('href')).addClass('active'); 42 }); 43});
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.