From f6ec94b46eff52597a6947334599dad110e05c05 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 --- repo/core/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/core/client.js b/repo/core/client.js index 77b1900..0ddafe2 100644 --- a/repo/core/client.js +++ b/repo/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,