Title: Remove event trigger
Last modified: March 4, 2020

---

# Remove event trigger

 *  Resolved [mhogas](https://wordpress.org/support/users/mhogas/)
 * (@mhogas)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/remove-event-trigger/)
 * Hey guys,
 * Looking at the console i noticed `found_variation` is fired twice on initial 
   load. I’m attaching an ajax call on this event so i’m counting on performance.
 * Looking at the code i found this line in frontend.js which reloads product variation,
   causing the chain of events, double triggering `found_variation`.
 * `_this3._element.trigger('reload_product_variations');`
 * I commented it and so far it doesn’t seem to affect anything. Is this event really
   essential?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [pluginswoo](https://wordpress.org/support/users/pluginswoo/)
 * (@pluginswoo)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/remove-event-trigger/#post-12555661)
 * [@mhogas](https://wordpress.org/support/users/mhogas/),
 * It would be fixed in the coming update.
 * Thank You

Viewing 1 replies (of 1 total)

The topic ‘Remove event trigger’ is closed to new replies.

 * ![](https://ps.w.org/woo-variation-swatches/assets/icon-256x256.gif?rev=3157951)
 * [Variation Swatches for WooCommerce](https://wordpress.org/plugins/woo-variation-swatches/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-variation-swatches/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-variation-swatches/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-variation-swatches/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-variation-swatches/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-variation-swatches/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [pluginswoo](https://wordpress.org/support/users/pluginswoo/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/remove-event-trigger/#post-12555661)
 * Status: resolved