Jump to content

Migrated JS from 7.1 to 10.6 version -Compatibility issue


MOKSHA SHAH

Recommended Posts

I have migrated JS from 7.1 version to 10.6and my script is not working.

Script:

 

 

 

 

 

var hideEmpty = function(){

document.querySelectorAll("#filter .sf-element.sf-element-filter-item:last-child")[0].style.display='none'

}

if(this['ps']) clearInterval(ps)

ps = setInterval(hideEmpty,100)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...