Skip to content

Commit c08cfa1

Browse files
Fixed invalid JavaScript
Signed-off-by: Daniel Fagnan <[email protected]>
1 parent 22d3669 commit c08cfa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.js

Lines changed: 1 addition & 1 deletion
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)