Skip to content

Commit

Permalink
Fixed ff event bug on previews
Browse files Browse the repository at this point in the history
  • Loading branch information
apeisa committed Nov 16, 2011
1 parent 7e55e86 commit 860425f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InputfieldCropImage/InputfieldCropImage.js
Original file line number Diff line number Diff line change
@@ -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+" />");
}
Expand Down

0 comments on commit 860425f

Please sign in to comment.