Fix bug from v1.14.7.0 (commit af00c711ff) causing excerpt in thread watcher to not be set. #2404

This commit is contained in:
ccd0 2019-08-18 10:13:55 -07:00
parent 5b4bc76537
commit 05405b68e5

View File

@ -102,7 +102,7 @@ ThreadWatcher =
# Add missing excerpt for threads added by Auto Watch
if data and not data.excerpt?
$.queueTask =>
ThreadWatcher.update siteID, boardID, threadID, val: {excerpt: Get.threadExcerpt @thread}
ThreadWatcher.update siteID, boardID, threadID, {excerpt: Get.threadExcerpt @thread}
catalogNode: ->
$.addClass @nodes.root, 'watched' if ThreadWatcher.isWatched @thread