Skip to content

Commit cbed332

Browse files
committed
auto merge of #12484 : TheHydroImpulse/rust/fix_js, r=huonw
2 parents ba03747 + c08cfa1 commit cbed332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@
582582
// Synchronize search bar with query string state and
583583
// perform the search, but don't empty the bar if there's
584584
// nothing there.
585-
if params.search !== undefined {
585+
if (params.search !== undefined) {
586586
$('.search-input').val(params.search);
587587
}
588588
// Some browsers fire 'onpopstate' for every page load (Chrome), while others fire the

0 commit comments

Comments
 (0)