Don't show (...) when updating watched threads status and there's nothing to fetch.

This commit is contained in:
Mayhem 2013-08-13 14:48:57 +02:00
parent 0ee17f32ce
commit 8ef04b655c

View File

@ -86,8 +86,9 @@ ThreadWatcher =
fetched: 0
fetching: 0
fetchAllStatus: ->
return unless (threads = ThreadWatcher.getAll()).length
ThreadWatcher.status.textContent = '...'
for thread in ThreadWatcher.getAll()
for thread in threads
ThreadWatcher.fetchStatus thread
return
fetchStatus: ({boardID, threadID, data}) ->