Don't display "Auto" after an connection error during auto-posting.

This commit is contained in:
Nicolas Stepien 2012-09-29 01:43:30 +02:00
parent c64bb3c361
commit f411eb3e99
2 changed files with 2 additions and 0 deletions

View File

@ -2479,6 +2479,7 @@
return QR.response(this.response);
},
onerror: function() {
QR.cooldown.auto = false;
QR.status();
return QR.error($.el('a', {
href: '//www.4chan.org/banned',

View File

@ -1925,6 +1925,7 @@ QR =
onerror: ->
# Connection error, or
# CORS disabled error on www.4chan.org/banned
QR.cooldown.auto = false
QR.status()
QR.error $.el 'a',
href: '//www.4chan.org/banned',