Fix selector in watcher.watch().
This commit is contained in:
parent
50dbd920f9
commit
e19cbc8fc5
@ -1876,9 +1876,9 @@
|
||||
},
|
||||
watch: function(thread, id) {
|
||||
var el, props, watched, _name;
|
||||
el = $('span.filetitle');
|
||||
el = $('span.filetitle', thread);
|
||||
if (!el.textContent) {
|
||||
el = $('blockquote');
|
||||
el = $('blockquote', thread);
|
||||
if (!el.textContent) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1538,9 +1538,9 @@ watcher =
|
||||
watcher.refresh()
|
||||
|
||||
watch: (thread, id) ->
|
||||
el = $ 'span.filetitle'
|
||||
el = $ 'span.filetitle', thread
|
||||
if not el.textContent
|
||||
el = $ 'blockquote'
|
||||
el = $ 'blockquote', thread
|
||||
if not el.textContent
|
||||
return
|
||||
props =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user