Remove event trigger
-
Hey guys,
Looking at the console i noticed
found_variationis 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)
Viewing 1 replies (of 1 total)
The topic ‘Remove event trigger’ is closed to new replies.