From 07b2b759c8abf23b4b69805b036e59b016b64281 Mon Sep 17 00:00:00 2001 From: dzamie Date: Wed, 29 Jun 2016 22:53:31 -0400 Subject: [PATCH] Clean up code No need for 'toggleable-watcher' if it's always toggleable. --- src/Monitoring/ThreadWatcher.coffee | 1 - src/css/style.css | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index 946a59a95..0979c8a90 100644 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -38,7 +38,6 @@ ThreadWatcher = @dialog.hidden = true Header.addShortcut 'watcher', sc, 510 - $.addClass doc, 'toggleable-watcher' ThreadWatcher.fetchAuto() diff --git a/src/css/style.css b/src/css/style.css index 0086ba717..e217bd534 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -931,9 +931,6 @@ span.hide-announcement { #thread-watcher a { text-decoration: none; } -:root:not(.toggleable-watcher) #thread-watcher .move > .close { - display: none; -} #thread-watcher .move > .close { position: absolute; right: 0px;