Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoselect first option does not fires js callback after main image change #166

Open
alexdrupal opened this issue Oct 5, 2016 · 1 comment
Labels

Comments

@alexdrupal
Copy link

Hello

When I click on images - js callback works. It changes main images and does some magick to make product zoom working in my theme. But when page is just loaded - it only changes main image, but js callback isn't loaded I think. When I hover mouse over the product image - it show the default image.
Take a look at the page to see what I mean.
https://test.ensembleshops.ru/11111.html

@alexdrupal
Copy link
Author

Small update - it caused by
if (this.fullLoad && callback){ //callback - give it 0.1 seconds for the image src to be changed //a small flicker might occur //if you don't like it you can remove it at your own risk eval.delay('0.1', callback) }
this.fullLoad is false when first option is selected. I've removed it from above if and everything is working now

@tzyganu tzyganu added wontfix and removed wontfix labels Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants