File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ $.widget("ui.slider", {
113113 . parent ( )
114114 . bind ( 'focus' , function ( e ) { self . _focus ( this . firstChild ) ; } )
115115 . bind ( 'blur' , function ( e ) { self . _blur ( this . firstChild ) ; } )
116- . bind ( 'keydown' , function ( e ) { if ( ! self . options . noKeyboard ) self . _keydown ( e . keyCode , this . firstChild ) ; } )
116+ . bind ( 'keydown' , function ( e ) { if ( ! self . options . noKeyboard ) return self . _keydown ( e . keyCode , this . firstChild ) ; } )
117117 ;
118118
119119 // Bind the click to the slider itself
@@ -173,7 +173,9 @@ $.widget("ui.slider", {
173173 x : xpos ,
174174 y : ypos
175175 } , handle ) ;
176+ return false ;
176177 }
178+ return true ;
177179 } ,
178180 _focus : function ( handle , hard ) {
179181 this . currentHandle = $ ( handle ) . addClass ( 'ui-slider-handle-active' ) ;
You can’t perform that action at this time.
0 commit comments