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