use length
This commit is contained in:
parent
ec5ccc153e
commit
6f00fbb750
@ -1649,8 +1649,8 @@
|
|||||||
length = arr.length;
|
length = arr.length;
|
||||||
updater.timer.textContent = '-' + conf['Interval'];
|
updater.timer.textContent = '-' + conf['Interval'];
|
||||||
if (conf['Verbose']) {
|
if (conf['Verbose']) {
|
||||||
updater.count.textContent = '+' + arr.length;
|
updater.count.textContent = '+' + length;
|
||||||
if (arr.length === 0) {
|
if (length === 0) {
|
||||||
updater.count.className = '';
|
updater.count.className = '';
|
||||||
} else {
|
} else {
|
||||||
updater.count.className = 'new';
|
updater.count.className = 'new';
|
||||||
|
|||||||
@ -1348,8 +1348,8 @@ updater =
|
|||||||
|
|
||||||
updater.timer.textContent = '-' + conf['Interval']
|
updater.timer.textContent = '-' + conf['Interval']
|
||||||
if conf['Verbose']
|
if conf['Verbose']
|
||||||
updater.count.textContent = '+' + arr.length
|
updater.count.textContent = '+' + length
|
||||||
if arr.length is 0
|
if length is 0
|
||||||
updater.count.className = ''
|
updater.count.className = ''
|
||||||
else
|
else
|
||||||
updater.count.className = 'new'
|
updater.count.className = 'new'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user