1(function($) { 2 'use strict'; 3 4 $(document).ready(function() { 5 if (window.MAILPN_Tooltips) { MAILPN_Tooltips.init(); } 6 7 if ($('.mailpn-select').length && $.fn.MAILPN_Selector) { 8 $('.mailpn-select').each(function(index) { 9 if ($(this).attr('multiple') == 'true') { 10 // For a multiple select 11 $(this).MAILPN_Selector({ 12 multiple: true, 13 searchable: true, 14 placeholder: typeof mailpn_i18n !== 'undefined' ? mailpn_i18n.select_options : '', 15 }); 16 } else { 17 // For a single select 18 $(this).MAILPN_Selector(); 19 } 20 }); 21 } 22 23 if ($.trumbowyg && typeof mailpn_trumbowyg !== 'undefined' && $('.mailpn-wysiwyg').length) { 24 $.trumbowyg.svgPath = mailpn_trumbowyg.path; 25 $('.mailpn-wysiwyg').each(function(index, element) { 26 $(this).trumbowyg(); 27 }); 28 } 29 }); 30})(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.