diff --git a/ui/jquery.ui.interaction.js b/ui/jquery.ui.interaction.js index 01f8984e1..986e8dcdc 100644 --- a/ui/jquery.ui.interaction.js +++ b/ui/jquery.ui.interaction.js @@ -92,7 +92,7 @@ $.extend( interaction, { interaction.hooks.mouse = { setup: function( widget, start ) { - widget._bind({ + widget._bind( widget.widget(), { "mousedown": function( event ) { // only react to the primary button if ( event.which === 1 ) { @@ -151,7 +151,7 @@ function getTouch( event ) { var touchHook = interaction.hooks.touch = { setup: function( widget, start ) { - widget._bind({ + widget._bind( widget.widget(), { "touchstart": function( event ) { var touch, started; @@ -216,7 +216,7 @@ var touchHook = interaction.hooks.touch = { var pointerHook = interaction.hooks.msPointer = { setup: function( widget, start ) { - widget._bind({ + widget._bind( widget.widget(), { "MSPointerDown": function( _event ) { var started, event = _event.originalEvent;