Skip to content

Commit e154738

Browse files
Update pointer.js
Remove "ignoreMissingButtons" boolean and change the if to remove the custom safari code
1 parent ab6a305 commit e154738

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ui/widgets/pointer.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,7 @@ return $.widget( "ui.pointer", {
130130

131131
_pointerMove: function( event ) {
132132
if ( this._pointerMoved && event.buttons === 0 ) {
133-
if ( event.altKey || event.ctrlKey ||
134-
event.metaKey || event.shiftKey ) {
135-
this.ignoreMissingButtons = true;
136-
} else if ( !this.ignoreMissingButtons ) {
137133
return this._pointerUp( event );
138-
}
139134
}
140135

141136
if ( event.buttons || event.button ) {
@@ -180,7 +175,6 @@ return $.widget( "ui.pointer", {
180175
delete this._pointerDelayTimer;
181176
}
182177

183-
this.ignoreMissingButtons = false;
184178
pointerHandled = false;
185179
event.preventDefault();
186180
},

0 commit comments

Comments
 (0)