Clean up code
No need for 'toggleable-watcher' if it's always toggleable.
This commit is contained in:
parent
9d5c7c1ef7
commit
07b2b759c8
@ -38,7 +38,6 @@ ThreadWatcher =
|
|||||||
@dialog.hidden = true
|
@dialog.hidden = true
|
||||||
|
|
||||||
Header.addShortcut 'watcher', sc, 510
|
Header.addShortcut 'watcher', sc, 510
|
||||||
$.addClass doc, 'toggleable-watcher'
|
|
||||||
|
|
||||||
ThreadWatcher.fetchAuto()
|
ThreadWatcher.fetchAuto()
|
||||||
|
|
||||||
|
|||||||
@ -931,9 +931,6 @@ span.hide-announcement {
|
|||||||
#thread-watcher a {
|
#thread-watcher a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
:root:not(.toggleable-watcher) #thread-watcher .move > .close {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
#thread-watcher .move > .close {
|
#thread-watcher .move > .close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user