1$(document).ready(function () { 2 const { isMobileOrTablet, isIosSafari } = UiHelpers; 3 4 // Safari on iOS gets Apple's native Smart App Banner instead; every other 5 // mobile browser gets this one. b2b pages render neither - header.php puts 6 // this partial in the `else` of is_b2b_page(), and the apple-itunes-app meta 7 // is wrapped in !is_b2b_page(). 8 if (isMobileOrTablet() && !isIosSafari()) { 9 window.setTimeout(() => { 10 $('body').addClass('mobile-banner'); 11 $('.mobile_banner_outer').removeAttr('style').addClass('show'); 12 }, 3000); 13 } 14 15 $('.moble_banner_container .banner_close').on('click', function () { 16 $('.mobile_banner_outer').removeClass('show'); 17 $('body').removeClass('mobile-banner'); 18 }); 19});
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.