File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2109,6 +2109,7 @@ the specific language governing permissions and limitations under the Apache Lic
21092109 this . focusser . attr ( "id" , "s2id_autogen" + idSuffix ) ;
21102110
21112111 elementLabel = $ ( "label[for='" + this . opts . element . attr ( "id" ) + "']" ) ;
2112+ this . opts . element . focus ( this . bind ( function ( ) { this . focus ( ) ; } ) ) ;
21122113
21132114 this . focusser . prev ( )
21142115 . text ( elementLabel . text ( ) )
@@ -2697,6 +2698,7 @@ the specific language governing permissions and limitations under the Apache Lic
26972698 this . search . prev ( )
26982699 . text ( $ ( "label[for='" + this . opts . element . attr ( "id" ) + "']" ) . text ( ) )
26992700 . attr ( 'for' , this . search . attr ( 'id' ) ) ;
2701+ this . opts . element . focus ( this . bind ( function ( ) { this . focus ( ) ; } ) ) ;
27002702
27012703 this . search . on ( "input paste" , this . bind ( function ( ) {
27022704 if ( this . search . attr ( 'placeholder' ) && this . search . val ( ) . length == 0 ) return ;
You can’t perform that action at this time.
0 commit comments