Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed ff event bug on previews

  • Loading branch information...
commit 860425fb53f9f6d1d5e1172d4135f4fa5824b20f 1 parent 7e55e86
@apeisa authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 InputfieldCropImage/InputfieldCropImage.js
View
4 InputfieldCropImage/InputfieldCropImage.js
@@ -1,7 +1,7 @@
$(document).ready(function() {
- $("a.crop").live("hover", function() {
- if( event.type === 'mouseover' ) {
+ $("a.crop").live("hover", function(e) {
+ if( e.type === 'mouseenter') {
url = $(this).data('thumburl') + "?timestamp=" + new Date().getTime();
$(this).append("<img style='position: absolute; z-index: 999;' src="+url+" />");
}
Please sign in to comment.
Something went wrong with that request. Please try again.