1(function($) { 2 3 // ç»é¢å¹ 768pxæªæºã®æã¯'.tel-link'ã«é»è©±ãªã³ã¯ãã¤ãã 4 if ($(window).width() < 768) { 5 $('.tel-link').each(function() { 6 var $this = $(this); 7 var tel = $this.data('tel'); 8 // header_nav_telå ãã©ããå¤å® 9 if ($this.closest('.header_nav_tel').length) { 10 // headerç¨å¦ç 11 var number = $this.clone() 12 .children('.tel-time') 13 .remove() 14 .end() 15 .text(); 16 var time = $this.find('.tel-time').prop('outerHTML'); 17 $this.replaceWith( 18 '<a href="tel:' + tel + '" class="tel-link">' + 19 '<i class="fa-solid fa-phone"></i>' + 20 number + 21 time + 22 '</a>' 23 ); 24 } else { 25 // ãã®ä»ã®tel-link 26 var text = $this.text(); 27 $this.replaceWith( 28 '<a href="tel:' + tel + '" class="tel-link">' + text + '</a>' 29 ); 30 } 31 }); 32 } 33 34 35 document.addEventListener('DOMContentLoaded', function () { 36 37 // 1) /special/ ã¯å¸¸ã«å¥ã¿ã 38 document.querySelectorAll('a[href*="/special/"]').forEach(function (link) { 39 link.addEventListener('click', function (e) { 40 if (e.metaKey || e.ctrlKey || e.button === 1) return; 41 e.preventDefault(); 42 window.open(link.getAttribute('href'), '_blank'); 43 }); 44 }); 45 46 // 2) voicesï¼voiceã¢ã¼ã«ã¤ãï¼ãã¼ã¸ã ã /voice/ ãå ¨é¨å¥ã¿ã 47 if (document.body.classList.contains('post-type-archive-voice')) { 48 document.querySelectorAll('a[href*="/voice/"]').forEach(function (link) { 49 link.addEventListener('click', function (e) { 50 if (e.metaKey || e.ctrlKey || e.button === 1) return; 51 e.preventDefault(); 52 window.open(link.getAttribute('href'), '_blank'); 53 }); 54 }); 55 } 56// 2) voicesï¼voiceã¢ã¼ã«ã¤ãï¼ãã¼ã¸ã ã /voice/ ãå ¨é¨å¥ã¿ã使ç¨ããªããªã£ããåé¤ãã 57}); 58 59 60})(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.