1/* 2$(document).ready(function() { 3 var ua = navigator.userAgent; 4 if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0) { 5 $('.tel').wrap('<a href="tel:" class="tel_text"></a>'); 6 } 7}); 8*/ 9 $(document).ready(function() { 10 if (navigator.userAgent.match(/(iPhone|iPad|Android|Mobile)/)) { 11 $('.tel').each(function() { 12 var str = $(this).html(); 13 if ($(this).children().is('img')) { 14 $(this).html($('<a>').attr('href', 'tel:' + $(this).children().attr('alt').replace(/-/g, '')).append(str + '</a>')); 15 } else { 16 $(this).html($('<a>').attr('href', 'tel:' + $(this).text().replace(/-/g, '')).append(str + '</a>')); 17 } 18 }); 19 } 20});
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.