1jQuery(document).ready(function() { 2 jQuery('.whatsapp-button').on("click", function(e) { 3 if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { 4 var article = jQuery(this).attr("data-text"); 5 var weburl = jQuery(this).attr("data-link"); 6 var whats_app_message = encodeURIComponent(article)+" - "+encodeURIComponent(weburl); 7 var whatsapp_url = "whatsapp://send?text="+whats_app_message; 8 window.location.href= whatsapp_url; 9 }else{ 10 alert('you are not on mobile device.'); 11 } 12 }); 13});
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.