fix updater notifications
This commit is contained in:
parent
f31cbf508d
commit
b0068b9792
@ -837,7 +837,7 @@ updateCallback = ->
|
|||||||
if g.verbose
|
if g.verbose
|
||||||
l = arr.length
|
l = arr.length
|
||||||
count.textContent = "+#{l}"
|
count.textContent = "+#{l}"
|
||||||
if l > 0 then count.className = 'new'
|
count.className = if l > 0 then 'new' else ''
|
||||||
|
|
||||||
#insert replies in order, so backlinks resolve
|
#insert replies in order, so backlinks resolve
|
||||||
while reply = arr.pop()
|
while reply = arr.pop()
|
||||||
|
|||||||
@ -1156,9 +1156,7 @@
|
|||||||
if (g.verbose) {
|
if (g.verbose) {
|
||||||
l = arr.length;
|
l = arr.length;
|
||||||
count.textContent = "+" + l;
|
count.textContent = "+" + l;
|
||||||
if (l > 0) {
|
count.className = l > 0 ? 'new' : '';
|
||||||
count.className = 'new';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
while (reply = arr.pop()) {
|
while (reply = arr.pop()) {
|
||||||
table = x('ancestor::table', reply);
|
table = x('ancestor::table', reply);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user