From bcae762a35be2f6874e41a987d0f7dd9bdb8c876 Mon Sep 17 00:00:00 2001 From: Danny Date: Wed, 16 May 2018 17:25:29 +0200 Subject: [PATCH] update document title with realtime visitor count --- assets/js/components/Realtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/Realtime.js b/assets/js/components/Realtime.js index 7431faa..5a34bcc 100644 --- a/assets/js/components/Realtime.js +++ b/assets/js/components/Realtime.js @@ -28,7 +28,7 @@ class Realtime extends Component { Client.request(`stats/site/realtime`) .then((d) => { this.setState({ count: d }) - document.title = ( d > 0 ? d + ' current visitors &mdot; Fathom' : 'Fathom' ); + document.title = ( d > 0 ? d + ' current visitors — Fathom' : 'Fathom' ); }) .catch((e) => { if(e.message == 401) {