From 8e2087d2fde803a2fefb27df43d2df897ef18b92 Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Sun, 1 Nov 2020 12:30:10 +1100 Subject: [PATCH] show 'untitled' for new pages instead of empty space --- mods/core/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/core/client.js b/mods/core/client.js index 77b1900..0ddafe2 100644 --- a/mods/core/client.js +++ b/mods/core/client.js @@ -246,7 +246,7 @@ module.exports = (store, __exports) => { : `${icon.getAttribute('aria-label')} ` : '') + (text - ? text.innerText + ? text.innerText || 'Untitled' : [ setTimeout(() => __electronApi.setWindowTitle(title), 250), title,