Use CSS for hiding thread watcher close button.
This commit is contained in:
parent
4be24cecac
commit
2a087d633d
@ -837,6 +837,9 @@ span.hide-announcement {
|
|||||||
#thread-watcher a {
|
#thread-watcher a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
:root:not(.fixed-watcher) #thread-watcher .move > .close {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
#thread-watcher .move > .close {
|
#thread-watcher .move > .close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
|
|||||||
@ -18,7 +18,6 @@ ThreadWatcher =
|
|||||||
@closeButon = $('.move > .close', @dialog)
|
@closeButon = $('.move > .close', @dialog)
|
||||||
@unreaddb = Unread.db or new DataBoard 'lastReadPosts'
|
@unreaddb = Unread.db or new DataBoard 'lastReadPosts'
|
||||||
|
|
||||||
@closeButon.hidden = not Conf['Toggleable Thread Watcher']
|
|
||||||
if Conf['Toggleable Thread Watcher']
|
if Conf['Toggleable Thread Watcher']
|
||||||
@setHidden Conf['Thread Watcher Hidden']
|
@setHidden Conf['Thread Watcher Hidden']
|
||||||
$.sync 'Thread Watcher Hidden', @setHidden
|
$.sync 'Thread Watcher Hidden', @setHidden
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user