Merge branch 'v3'
This commit is contained in:
commit
4cd72db79c
@ -8095,6 +8095,12 @@
|
|||||||
return el.className = klass;
|
return el.className = klass;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
count: function(start) {
|
||||||
|
clearTimeout(ThreadUpdater.timeoutID);
|
||||||
|
if (start && ThreadUpdater.isUpdating && navigator.onLine) {
|
||||||
|
return ThreadUpdater.timeout();
|
||||||
|
}
|
||||||
|
},
|
||||||
timeout: function() {
|
timeout: function() {
|
||||||
var n;
|
var n;
|
||||||
|
|
||||||
|
|||||||
@ -10395,6 +10395,12 @@
|
|||||||
return el.className = klass;
|
return el.className = klass;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
count: function(start) {
|
||||||
|
clearTimeout(ThreadUpdater.timeoutID);
|
||||||
|
if (start && ThreadUpdater.isUpdating && navigator.onLine) {
|
||||||
|
return ThreadUpdater.timeout();
|
||||||
|
}
|
||||||
|
},
|
||||||
timeout: function() {
|
timeout: function() {
|
||||||
var n;
|
var n;
|
||||||
|
|
||||||
|
|||||||
@ -179,6 +179,10 @@ ThreadUpdater =
|
|||||||
el.textContent = text
|
el.textContent = text
|
||||||
el.className = klass if klass isnt undefined
|
el.className = klass if klass isnt undefined
|
||||||
|
|
||||||
|
count: (start) ->
|
||||||
|
clearTimeout ThreadUpdater.timeoutID
|
||||||
|
ThreadUpdater.timeout() if start and ThreadUpdater.isUpdating and navigator.onLine
|
||||||
|
|
||||||
timeout: ->
|
timeout: ->
|
||||||
ThreadUpdater.timeoutID = setTimeout ThreadUpdater.timeout, 1000
|
ThreadUpdater.timeoutID = setTimeout ThreadUpdater.timeout, 1000
|
||||||
unless n = --ThreadUpdater.seconds
|
unless n = --ThreadUpdater.seconds
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user