Don't show (...) when updating watched threads status and there's nothing to fetch.
This commit is contained in:
parent
0ee17f32ce
commit
8ef04b655c
@ -86,8 +86,9 @@ ThreadWatcher =
|
|||||||
fetched: 0
|
fetched: 0
|
||||||
fetching: 0
|
fetching: 0
|
||||||
fetchAllStatus: ->
|
fetchAllStatus: ->
|
||||||
|
return unless (threads = ThreadWatcher.getAll()).length
|
||||||
ThreadWatcher.status.textContent = '...'
|
ThreadWatcher.status.textContent = '...'
|
||||||
for thread in ThreadWatcher.getAll()
|
for thread in threads
|
||||||
ThreadWatcher.fetchStatus thread
|
ThreadWatcher.fetchStatus thread
|
||||||
return
|
return
|
||||||
fetchStatus: ({boardID, threadID, data}) ->
|
fetchStatus: ({boardID, threadID, data}) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user