Prevent tab title to "null" if the URL is a search one

This commit is contained in:
Guillaume Gomez 2021-05-20 16:01:08 +02:00
parent 5ab0f37087
commit 222126adaf

View File

@ -161,7 +161,7 @@ function hideThemeButtonState() {
outputElement: function() { outputElement: function() {
return document.getElementById("search"); return document.getElementById("search");
}, },
title: null, title: document.title,
titleBeforeSearch: document.title, titleBeforeSearch: document.title,
timeout: null, timeout: null,
// On the search screen, so you remain on the last tab you opened. // On the search screen, so you remain on the last tab you opened.