From 7ea45f9888b89f854209ba1617a37161b9a21542 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 27 Jan 2016 18:02:15 +0000 Subject: [PATCH] Move message count to suffix in title, as requested by @ara4n --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 3184380005..f02eb30299 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -781,7 +781,7 @@ module.exports = React.createClass({ } catch (e) { console.warn("Failed to set badge count: "+e.message); } - document.title = (notifCount > 0 ? "["+notifCount+"] " : "")+"Vector"; + document.title = "Vector"+(notifCount > 0 ? " ["+notifCount+"]" : ""); }, onUserSettingsClose: function() {