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