File tree 2 files changed +3
-13
lines changed
templates/default/fulldoc/html
2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -388,16 +388,6 @@ ul.fullTree li:last-child { padding-bottom: 0; }
388
388
text-align : center;
389
389
}
390
390
391
- .visually-hidden {
392
- position : absolute;
393
- top : auto;
394
- overflow : hidden;
395
- clip : rect (1px , 1px , 1px , 1px );
396
- width : 1px ;
397
- height : 1px ;
398
- white-space : nowrap;
399
- }
400
-
401
391
# menu { font-size : 1.3em ; color : # bbb ; }
402
392
# menu .title , # menu a { font-size : 0.7em ; }
403
393
# menu .title a { font-size : 1em ; }
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ function enableSearch() {
108
108
}
109
109
} ) ;
110
110
111
- $ ( '#full_list' ) . after ( "<div id='noresults' role='status' class='visually-hidden '></div>" ) ;
111
+ $ ( '#full_list' ) . after ( "<div id='noresults' role='status' style='display: none '></div>" ) ;
112
112
}
113
113
114
114
function ignoredKeyPress ( event ) {
@@ -136,7 +136,7 @@ function clearSearch() {
136
136
function performSearch ( searchString ) {
137
137
clearSearchTimeout ( ) ;
138
138
$ ( '#full_list, #content' ) . addClass ( 'insearch' ) ;
139
- $ ( '#noresults' ) . text ( '' ) . addClass ( 'visually-hidden' ) ;
139
+ $ ( '#noresults' ) . text ( '' ) . hide ( ) ;
140
140
partialSearch ( searchString , 0 ) ;
141
141
}
142
142
@@ -178,7 +178,7 @@ function searchDone() {
178
178
// This is read out to screen readers
179
179
$ ( '#noresults' ) . text ( 'There are ' + found + ' results.' ) ;
180
180
}
181
- $ ( '#noresults' ) . removeClass ( 'visually-hidden' ) ;
181
+ $ ( '#noresults' ) . show ( ) ;
182
182
$ ( '#content' ) . removeClass ( 'insearch' ) ;
183
183
}
184
184
You can’t perform that action at this time.
0 commit comments