Skip to content

Commit 59ee1d2

Browse files
authored
Merge pull request #42 from FGIKCM/master
Update code to be compliant with jQuery 3.x
2 parents 2c8e6be + acb6c6e commit 59ee1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap.file-input.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $.fn.bootstrapFileInput = function() {
5656

5757
// As the cursor moves over our new Bootstrap button we need to adjust the position of the invisible file input Browse button to be under the cursor.
5858
// This gives us the pointer cursor that FF denies us
59-
$('.file-input-wrapper').mousemove(function(cursor) {
59+
$('.file-input-wrapper').on('mousemove', function(cursor) {
6060

6161
var input, wrapper,
6262
wrapperX, wrapperY,

0 commit comments

Comments
 (0)