Hi,
Working on a client site, and after the previous update some errors have occurred (please see below):
script id=“x-custom-js”>jQuery(document).ready(function($) { $(’.x-navbar .x-nav-wrap.mobile a’).on(‘click touchstart’,function(){ $(’.x-btn-navbar’).click(); }); });
jQuery(function($){
$(’#menu-item-296>a, #menu-item-298>a’).on(‘click touchend’, function(e) {
window.location = $(this).attr(‘href’);
});
});</script (Left the tags out as it wasn’t visible on this post with opening / closing tag)
AND
x.js?ver=6.1.5:1 Uncaught TypeError: Cannot read property ‘action’ of undefined
at e.default (x.js?ver=6.1.5:1)
at HTMLDocument. (x.js?ver=6.1.5:1)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
These have resulted in, for example calendar links not functioning anymore.
X doesn’t seem to find Custom JS in Customizer, so I cannot access that JavaScript (please see screenshot).
Could you please take a quick look at this, the problem is quite disturbing and urgent.