This plugin uses reckless JavaScript & breaks my theme
-
This plugin contains a file
assets/js/frontend.jsthat has this code on line 2816:$(".accordion").accordion({ speed: "slow" });This jQuery selector, that finds any element on any page with a class
accordionand manipulates it, is reckless. It’s breaking a theme I wrote that uses a CSS accordion. It shouldn’t do that. Surely, there is a more specific selector that will allow your frontend JavaScript to affect only your plugin’s elements pages and allow me to continue using this plugin.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘This plugin uses reckless JavaScript & breaks my theme’ is closed to new replies.