From a58d4d69970ad8a5efc06242e7d68221475575cb Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 18 Oct 2022 19:41:36 -0700 Subject: [PATCH] Remove debug logging --- web/components/TitleNotifier/TitleNotifier.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/components/TitleNotifier/TitleNotifier.tsx b/web/components/TitleNotifier/TitleNotifier.tsx index a28b9dcfc..592e96d45 100644 --- a/web/components/TitleNotifier/TitleNotifier.tsx +++ b/web/components/TitleNotifier/TitleNotifier.tsx @@ -17,20 +17,17 @@ export const TitleNotifier: FC = () => { let defaultTitle = ''; const onBlur = () => { - console.log('onBlur'); backgrounded = true; defaultTitle = document.title; }; const onFocus = () => { - console.log('onFocus'); backgrounded = false; window.document.title = defaultTitle; }; const listenForEvents = () => { // Listen for events that should update the title - console.log('listenForEvents'); window.addEventListener('blur', onBlur); window.addEventListener('focus', onFocus); };