fix count classname
This commit is contained in:
parent
416b0df4b6
commit
ecf6f0b7db
@ -1426,7 +1426,9 @@
|
|||||||
if ($.config('Verbose')) {
|
if ($.config('Verbose')) {
|
||||||
timer.textContent = '-' + $.config('Interval');
|
timer.textContent = '-' + $.config('Interval');
|
||||||
count.textContent = '+' + arr.length;
|
count.textContent = '+' + arr.length;
|
||||||
if (arr.length > 0) {
|
if (arr.length === 0) {
|
||||||
|
count.className = '';
|
||||||
|
} else {
|
||||||
count.className = 'new';
|
count.className = 'new';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1124,7 +1124,9 @@ updater =
|
|||||||
if $.config 'Verbose'
|
if $.config 'Verbose'
|
||||||
timer.textContent = '-' + $.config 'Interval'
|
timer.textContent = '-' + $.config 'Interval'
|
||||||
count.textContent = '+' + arr.length
|
count.textContent = '+' + arr.length
|
||||||
if arr.length > 0
|
if arr.length is 0
|
||||||
|
count.className = ''
|
||||||
|
else
|
||||||
count.className = 'new'
|
count.className = 'new'
|
||||||
|
|
||||||
#XXX add replies in correct order so /b/acklinks resolve
|
#XXX add replies in correct order so /b/acklinks resolve
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user