Skip to content

Commit acb6c6e

Browse files
committed
Update code to be compliant with jQuery 3.x
1 parent 2c8e6be commit acb6c6e

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)