"fix" thread updater
This commit is contained in:
parent
7fb48b93d4
commit
038a2220e7
@ -8924,7 +8924,6 @@
|
|||||||
load: function(e) {
|
load: function(e) {
|
||||||
var klass, req, text, _ref;
|
var klass, req, text, _ref;
|
||||||
|
|
||||||
$.rmClass(ThreadUpdater.button, 'fa-spin');
|
|
||||||
req = ThreadUpdater.req;
|
req = ThreadUpdater.req;
|
||||||
switch (req.status) {
|
switch (req.status) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -9011,7 +9010,6 @@
|
|||||||
if (!navigator.onLine) {
|
if (!navigator.onLine) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.addClass(ThreadUpdater.button, 'fa-spin');
|
|
||||||
ThreadUpdater.count();
|
ThreadUpdater.count();
|
||||||
if (Conf['Auto Update']) {
|
if (Conf['Auto Update']) {
|
||||||
ThreadUpdater.set('timer', '...');
|
ThreadUpdater.set('timer', '...');
|
||||||
|
|||||||
@ -8909,7 +8909,6 @@
|
|||||||
load: function(e) {
|
load: function(e) {
|
||||||
var klass, req, text, _ref;
|
var klass, req, text, _ref;
|
||||||
|
|
||||||
$.rmClass(ThreadUpdater.button, 'fa-spin');
|
|
||||||
req = ThreadUpdater.req;
|
req = ThreadUpdater.req;
|
||||||
switch (req.status) {
|
switch (req.status) {
|
||||||
case 200:
|
case 200:
|
||||||
@ -8996,7 +8995,6 @@
|
|||||||
if (!navigator.onLine) {
|
if (!navigator.onLine) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.addClass(ThreadUpdater.button, 'fa-spin');
|
|
||||||
ThreadUpdater.count();
|
ThreadUpdater.count();
|
||||||
if (Conf['Auto Update']) {
|
if (Conf['Auto Update']) {
|
||||||
ThreadUpdater.set('timer', '...');
|
ThreadUpdater.set('timer', '...');
|
||||||
|
|||||||
@ -120,7 +120,6 @@ ThreadUpdater =
|
|||||||
ThreadUpdater.interval = @value = val
|
ThreadUpdater.interval = @value = val
|
||||||
$.cb.value.call @
|
$.cb.value.call @
|
||||||
load: (e) ->
|
load: (e) ->
|
||||||
$.rmClass ThreadUpdater.button, 'fa-spin'
|
|
||||||
{req} = ThreadUpdater
|
{req} = ThreadUpdater
|
||||||
switch req.status
|
switch req.status
|
||||||
when 200
|
when 200
|
||||||
@ -194,7 +193,6 @@ ThreadUpdater =
|
|||||||
|
|
||||||
update: ->
|
update: ->
|
||||||
return unless navigator.onLine
|
return unless navigator.onLine
|
||||||
$.addClass ThreadUpdater.button, 'fa-spin'
|
|
||||||
ThreadUpdater.count()
|
ThreadUpdater.count()
|
||||||
if Conf['Auto Update']
|
if Conf['Auto Update']
|
||||||
ThreadUpdater.set 'timer', '...'
|
ThreadUpdater.set 'timer', '...'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user