Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Minor JS bug when asp_stop_load_css returns true
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 2 years, 9 months ago.
- AuthorPosts
- November 26, 2021 at 2:54 pm #35765
As I am working on a very custom ASP integration using the PHP snippetadd_filter( 'asp_load_css', 'asp_stop_load_css', 10, 1 ); function asp_stop_load_css( $stop ) { return true; }
This is not connected
VERY useful. This in combination witha theme override to the layout allows WooCommerce items to be displayed exactly as per their archive view using my theme’s existing CSS with minimal work to restyle the ASP elements.The small bug I’m reporting is a javascript error (all ASP functionality seems to be working perfectly)
Uncaught DOMException: Failed to execute ‘remove’ on ‘DOMTokenList’: The token provided must not be empty.
from asp-prereq-and-wrapper.js
This should be a simple fix [fingers crossed].
- This topic was modified 2 years, 9 months ago by willfaulds59.
- This topic was modified 2 years, 9 months ago by willfaulds59.
November 27, 2021 at 11:03 am #35778Hi,
Thank you for the report!
I am not able to replicate this though. I tried on a few local and remote servers, but I am not seeing any errors. It might be related to a specific configuration.
Best,
Can you share a URL where I can check this? I may not need any login nor FTP details, I can probably figure it out via the error console.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.