1 2/*------------------------------------------------------- 3 ã¹ããã®æã ãtelãªã³ã¯ãæå¹ã«ãã 4-------------------------------------------------------*/ 5document.addEventListener('DOMContentLoaded', function () { 6 const isMobile = window.innerWidth <= 768; // ç»é¢å¹ ã§ã¹ããå¤å® 7 8 if (isMobile) { 9 document.querySelectorAll('.tellink').forEach(function (el) { 10 const text = el.textContent.trim(); // è¦ç´ ã®ä¸ã«ããé»è©±çªå·ãåå¾ãã¦åå¾ã®ç©ºç½ãåé¤ 11 const tel = text.replace(/-/g, ''); // é»è©±çªå·ãããã¤ãã³ãå ¨é¨åé¤ 12 const a = document.createElement('a'); // <a> ãªã³ã¯ä½æ 13 a.href = 'tel:' + tel; // tel:ä»ä¸ 14 a.textContent = text; // 表示ããããªã³ã¯ã®ããã¹ããå ã®é»è©±çªå·ã¨åãã« 15 el.innerHTML = ''; // å ã®ããã¹ããæ¶ã 16 el.appendChild(a); // <a> è¦ç´ ãä¸ã«å ¥ãã 17 }); 18 } 19}); 20 21
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.