Permalink
Browse files

Fixed ff event bug on previews

  • Loading branch information...
1 parent 7e55e86 commit 860425fb53f9f6d1d5e1172d4135f4fa5824b20f @apeisa committed Nov 16, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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+" />");
}

0 comments on commit 860425f

Please sign in to comment.