File tree 1 file changed +9
-2
lines changed
src/librustdoc/html/static
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 119
119
map ( function ( s ) {
120
120
var pair = s . split ( "=" ) ;
121
121
params [ decodeURIComponent ( pair [ 0 ] ) ] =
122
- typeof pair [ 1 ] === "undefined" ?
123
- null : decodeURIComponent ( pair [ 1 ] ) ;
122
+ typeof pair [ 1 ] === "undefined" ? null : decodeURIComponent ( pair [ 1 ] ) ;
124
123
} ) ;
125
124
return params ;
126
125
}
1822
1821
}
1823
1822
} ;
1824
1823
}
1824
+
1825
+ var params = getQueryStringParams ( ) ;
1826
+ if ( params && params . search ) {
1827
+ addClass ( document . getElementById ( "main" ) , "hidden" ) ;
1828
+ var search = document . getElementById ( "search" ) ;
1829
+ removeClass ( search , "hidden" ) ;
1830
+ search . innerHTML = '<h3 style="text-align: center;">Loading search results...</h3>' ;
1831
+ }
1825
1832
} ( ) ) ;
1826
1833
1827
1834
// Sets the focus on the search bar at the top of the page
You can’t perform that action at this time.
0 commit comments