Function of header is crawling in every anchor tag
-
Hi,
it seems since the last update this function is added to every anchor tag (#) throughout the site
function(e) { e.preventDefault(); e = m(i, k).call(i, t.getAttribute("href")); m(i, W).call(i, e) }
The source seems to be your own from OceanWP here:
/wp-content/plugins/ocean-sticky-header/assets/js/sticky-header.min.js
It creates different issues. For example all custom links with anchors (#) in menus are not clickable anymore and therefore won′t open. Also different behaviors throughout the site are triggered. For example in WooCommerce when Tabs are clicked the page starts scrolling to tab anchor. This is not a default behavior and none of my Funktions does that. Before the update today it was fine I double checked it.
Please fix this as soon as possible and stop propagation of this to every element.
Thanks
- The topic ‘Function of header is crawling in every anchor tag’ is closed to new replies.