1(function($, root, undefined) {� 2� 3� 4 /**� 5 * jQuery function to prevent default anchor event and take the href * and the title to make a share popup� 6 * @param {[object]} e [Mouse event]� 7 * @param {[integer]} intWidth [Popup width defalut 500]� 8 * @param {[integer]} intHeight [Popup height defalut 400]� 9 * @param {[boolean]} blnResize [Is popup resizeabel default true]� 10 */� 11 $.fn.customerPopup = function(e, intWidth, intHeight, blnResize) {� 12� 13 // Prevent default anchor event� 14 e.preventDefault();� 15� 16 // Set values for window� 17 intWidth = intWidth || '500';� 18 intHeight = intHeight || '400';� 19 strResize = (blnResize ? 'yes' : 'no');� 20� 21 // Set title and open popup with focus on it� 22 var strTitle = ((typeof this.attr('title') !== 'undefined') ? this.attr('title') : 'Social Share'),� 23 strParam = 'width=' + intWidth + ',height=' + intHeight + ',resizable=' + strResize,� 24 objWindow = window.open(this.attr('href'), strTitle, strParam).focus();� 25 }� 26� 27 // Social media share on ".share" class� 28 $(document).ready(function($) {� 29� 30 AOS.init();� 31� 32 $('.share-social-items a').on("click", function(e) {� 33 $(this).customerPopup(e);� 34 });� 35 });� 36� 37})(jQuery, this);�
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.