Check for hover after timeout
This commit is contained in:
parent
76b7a4facf
commit
fc1a274fcb
|
@ -222,6 +222,12 @@ jQuery( function( $ ) {
|
||||||
|
|
||||||
zoomTarget.trigger( 'zoom.destroy' );
|
zoomTarget.trigger( 'zoom.destroy' );
|
||||||
zoomTarget.zoom( zoom_options );
|
zoomTarget.zoom( zoom_options );
|
||||||
|
|
||||||
|
setTimeout( function() {
|
||||||
|
if ( zoomTarget.find(':hover').length ) {
|
||||||
|
zoomTarget.trigger( 'mouseover' );
|
||||||
|
}
|
||||||
|
}, 100 );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue