Use CSS for hiding thread watcher close button.

This commit is contained in:
ccd0 2015-04-05 21:35:56 -07:00
parent 4be24cecac
commit 2a087d633d
2 changed files with 3 additions and 1 deletions

View File

@ -837,6 +837,9 @@ span.hide-announcement {
#thread-watcher a {
text-decoration: none;
}
:root:not(.fixed-watcher) #thread-watcher .move > .close {
display: none;
}
#thread-watcher .move > .close {
position: absolute;
right: 0px;

View File

@ -18,7 +18,6 @@ ThreadWatcher =
@closeButon = $('.move > .close', @dialog)
@unreaddb = Unread.db or new DataBoard 'lastReadPosts'
@closeButon.hidden = not Conf['Toggleable Thread Watcher']
if Conf['Toggleable Thread Watcher']
@setHidden Conf['Thread Watcher Hidden']
$.sync 'Thread Watcher Hidden', @setHidden