Reset the QR status on connection error.
This commit is contained in:
parent
d636d27dfd
commit
d235346496
@ -2058,6 +2058,7 @@
|
||||
return QR.response(this.response);
|
||||
},
|
||||
onerror: function() {
|
||||
QR.status();
|
||||
return QR.error($.el('a', {
|
||||
href: '//www.4chan.org/banned',
|
||||
target: '_blank',
|
||||
|
||||
@ -1556,6 +1556,7 @@ QR =
|
||||
onerror: ->
|
||||
# Connection error, or
|
||||
# CORS disabled error on www.4chan.org/banned
|
||||
QR.status()
|
||||
QR.error $.el 'a',
|
||||
href: '//www.4chan.org/banned'
|
||||
target: '_blank'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user