Don't display "Auto" after an connection error during auto-posting.
This commit is contained in:
parent
c64bb3c361
commit
f411eb3e99
@ -2479,6 +2479,7 @@
|
|||||||
return QR.response(this.response);
|
return QR.response(this.response);
|
||||||
},
|
},
|
||||||
onerror: function() {
|
onerror: function() {
|
||||||
|
QR.cooldown.auto = false;
|
||||||
QR.status();
|
QR.status();
|
||||||
return QR.error($.el('a', {
|
return QR.error($.el('a', {
|
||||||
href: '//www.4chan.org/banned',
|
href: '//www.4chan.org/banned',
|
||||||
|
|||||||
@ -1925,6 +1925,7 @@ QR =
|
|||||||
onerror: ->
|
onerror: ->
|
||||||
# Connection error, or
|
# Connection error, or
|
||||||
# CORS disabled error on www.4chan.org/banned
|
# CORS disabled error on www.4chan.org/banned
|
||||||
|
QR.cooldown.auto = false
|
||||||
QR.status()
|
QR.status()
|
||||||
QR.error $.el 'a',
|
QR.error $.el 'a',
|
||||||
href: '//www.4chan.org/banned',
|
href: '//www.4chan.org/banned',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user