Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 222126a

Browse files
committedMay 20, 2021
Prevent tab title to "null" if the URL is a search one
1 parent 5ab0f37 commit 222126a

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
@@ -161,7 +161,7 @@ function hideThemeButtonState() {
161161
outputElement: function() {
162162
return document.getElementById("search");
163163
},
164-
title: null,
164+
title: document.title,
165165
titleBeforeSearch: document.title,
166166
timeout: null,
167167
// On the search screen, so you remain on the last tab you opened.

0 commit comments

Comments
 (0)
Please sign in to comment.