Permalink
Browse files

Merge pull request #12 from cfenzo/master

Fix for "auto-dragging images" in Firefox
  • Loading branch information...
2 parents bcd8f5b + 1fb2bd2 commit 690696391540634a35ea9811d72e4887a70744fc @botelho committed May 27, 2015
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/jquery.flips.js
View
@@ -566,6 +566,8 @@
} );
+ this.$el.on('dragstart','img', function(event) { event.preventDefault(); });
+
this.$flipPages.find( '.box' ).on( 'click.flips', function( event ) {
var $box = $(this),
@@ -962,4 +964,4 @@
};
-})( window );
+})( window );

0 comments on commit 6906963

Please sign in to comment.