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

a bug on zoom out #140

Open
sezarsaman opened this issue Jan 27, 2019 · 0 comments
Open

a bug on zoom out #140

sezarsaman opened this issue Jan 27, 2019 · 0 comments

Comments

@sezarsaman
Copy link

Hi,
I've launched a website about a year ago and I've used "Zoom" on the products page and it was working nicely. Since recently without any changes, there appeared an odd bug.
On mouse out, the photo will remain where the mouse left the area and doesn't go to the center!
I updated to the 1.7.21 version but the bug still remains.
This is my script to call "zoom" on a gallery:
if($('.zoom').length){ $('.zoom').zoom({url: $('.zoom img').attr('srcX')}); } if($('.gallery').length){ $('.gallery .thumbnail').on('click',function(e){ e.preventDefault(); var _srcX = $(this).attr('href'); $('.zoom img').attr('srcX',_srcX); $('.zoom img').attr('src',_srcX); }) }
Could you help me with this issue?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant