Fix bug from v1.13.0.0 causing errors on index refresh in certain cases when creating threads with cookies disabled. #1184
This commit is contained in:
parent
c0a4450af2
commit
06f59b8469
@ -95,8 +95,9 @@ ThreadWatcher =
|
||||
$.on toggler, 'click', ThreadWatcher.cb.toggle
|
||||
# Add missing excerpt for threads added by Auto Watch
|
||||
if data and not data.excerpt?
|
||||
ThreadWatcher.db.extend {boardID, threadID, val: {excerpt: Get.threadExcerpt @thread}}
|
||||
ThreadWatcher.refresh()
|
||||
$.queueTask =>
|
||||
ThreadWatcher.db.extend {boardID, threadID, val: {excerpt: Get.threadExcerpt @thread}}
|
||||
ThreadWatcher.refresh()
|
||||
|
||||
catalogNode: ->
|
||||
$.addClass @nodes.root, 'watched' if ThreadWatcher.isWatched @thread
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user