Title: Doesn&#8217;t work (javascript error)
Last modified: February 13, 2022

---

# Doesn’t work (javascript error)

 *  Resolved [deralict](https://wordpress.org/support/users/deralict/)
 * (@deralict)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-javascript-error-2/)
 * The plugin doesn’t work for me…there’s a JS error in the console (“Uncaught TypeError:
   e.indexOf is not a function”) and as a result, clicking any swatch does nothing.
 * [https://capture.dropbox.com/tdqfPz4SN2iI8uGO?src=ss](https://capture.dropbox.com/tdqfPz4SN2iI8uGO?src=ss)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-work-javascript-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [HasThemes](https://wordpress.org/support/users/hasthemes/)
 * (@hasthemes)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-javascript-error-2/#post-15361350)
 * Hi [@deralict](https://wordpress.org/support/users/deralict/)
 * We are checking the issue you’ve mentioned. We will give you an update within
   the next few hours.
 * Thanks!
 *  Plugin Author [HasThemes](https://wordpress.org/support/users/hasthemes/)
 * (@hasthemes)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-javascript-error-2/#post-15361386)
 * Hi [@deralict](https://wordpress.org/support/users/deralict/)
 * Thanks for reaching out to us and mentioning the issue. We are able to reproduce
   the issue from our end and fixed it.
 * We have updated the plugin a few minutes ago, please update your plugin to the
   latest version hopefully the problem will be fixed. Please check after clearing
   the browser cache.
 * If the issue still persists, please create a support ticket on our website [https://hasthemes.com/contact-us](https://hasthemes.com/contact-us)
   
   That way you will get support more quickly as the developer of this plugin handles
   all the tickets over there.
 * If you have any questions, please let us know.
 * Thanks!
    Support Team
 *  Thread Starter [deralict](https://wordpress.org/support/users/deralict/)
 * (@deralict)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-javascript-error-2/#post-15361717)
 * OK, great that fixed it. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Doesn’t work (javascript error)’ is closed to new replies.

 * ![](https://ps.w.org/swatchly/assets/icon-256x256.png?rev=2893238)
 * [Swatchly – Product Variation Swatches for WooCommerce](https://wordpress.org/plugins/swatchly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/swatchly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/swatchly/)
 * [Active Topics](https://wordpress.org/support/plugin/swatchly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/swatchly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/swatchly/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [deralict](https://wordpress.org/support/users/deralict/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-javascript-error-2/#post-15361717)
 * Status: resolved