Merge pull request #4051 from vishal-webkul/issue-4045

Issue #4045 Fixed
This commit is contained in:
Jitendra Singh 2020-10-09 14:23:05 +05:30 committed by GitHub
commit 178f74ec52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@
var wishlist = " <?php echo $wishListHelper->getWishlistProduct($product); ?> ";
$(document).mousemove(function(event) {
if ($('.add-to-wishlist').length && wishlist != 1) {
if ($('.add-to-wishlist').length || wishlist != 1) {
if (event.pageX > $('.add-to-wishlist').offset().left && event.pageX < $('.add-to-wishlist').offset().left+32 && event.pageY > $('.add-to-wishlist').offset().top && event.pageY < $('.add-to-wishlist').offset().top+32) {
$(".zoomContainer").addClass("show-wishlist");