File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 14971497 window . setTimeout ( this . bind ( function ( ) { this . selection . attr ( "tabIndex" , this . opts . element . attr ( "tabIndex" ) ) ; } ) , 10 ) ;
14981498 } ) ) ;
14991499
1500+ selection . delegate ( "abbr" , "mousedown" , this . bind ( function ( e ) {
1501+ if ( ! this . enabled ) return ;
1502+ this . clear ( ) ;
1503+ killEventImmediately ( e ) ;
1504+ this . close ( ) ;
1505+ this . triggerChange ( ) ;
1506+ this . selection . focus ( ) ;
1507+ } ) ) ;
1508+
15001509 selection . bind ( "mousedown" , this . bind ( function ( e ) {
15011510 clickingInside = true ;
15021511
15801589 killEvent ( e ) ;
15811590 } ) ) ;
15821591
1583- selection . delegate ( "abbr" , "mousedown" , this . bind ( function ( e ) {
1584- if ( ! this . enabled ) return ;
1585- this . clear ( ) ;
1586- killEventImmediately ( e ) ;
1587- this . close ( ) ;
1588- this . triggerChange ( ) ;
1589- this . selection . focus ( ) ;
1590- } ) ) ;
1591-
15921592 this . setPlaceholder ( ) ;
15931593
15941594 this . search . bind ( "focus" , this . bind ( function ( ) {
You can’t perform that action at this time.
0 commit comments