remove check threads menu item; we can restore it if actually requested

This commit is contained in:
ccd0 2014-08-16 23:32:33 -07:00
parent 688f7edf2d
commit 448d2e84f7
2 changed files with 0 additions and 14 deletions

View File

@ -564,9 +564,6 @@ span.hide-announcement {
#thread-watcher .refresh {
padding: 0px 3px;
}
#watcher-check-threads {
display: none;
}
#thread-watcher .menu-button {
bottom: 1px;
}

View File

@ -74,9 +74,6 @@ ThreadWatcher =
for a in $$ 'a[title]', ThreadWatcher.list
$.open a.href
$.event 'CloseMenu'
checkThreads: ->
return if $.hasClass @, 'disabled'
ThreadWatcher.fetchAllStatus()
pruneDeads: ->
return if $.hasClass @, 'disabled'
for {boardID, threadID, data} in ThreadWatcher.getAll() when data.isDead
@ -299,14 +296,6 @@ ThreadWatcher =
textContent: 'Open all threads'
refresh: -> (if ThreadWatcher.list.firstElementChild then $.rmClass else $.addClass) @el, 'disabled'
entries.push
cb: ThreadWatcher.cb.checkThreads
entry:
el: $.el 'a',
id: 'watcher-check-threads'
textContent: 'Check threads'
refresh: -> (if $('div:not(.dead-thread)', ThreadWatcher.list) then $.rmClass else $.addClass) @el, 'disabled'
# `Prune 404'd threads` entry
entries.push
cb: ThreadWatcher.cb.pruneDeads