Add the banned page link in QR connection errors. #932
This commit is contained in:
parent
a599d2af57
commit
e0cab6e8b3
@ -872,12 +872,14 @@ QR =
|
|||||||
callbacks =
|
callbacks =
|
||||||
onload: QR.response
|
onload: QR.response
|
||||||
onerror: ->
|
onerror: ->
|
||||||
|
# Connection error, or
|
||||||
|
# www.4chan.org/banned
|
||||||
delete QR.req
|
delete QR.req
|
||||||
post.unlock()
|
post.unlock()
|
||||||
QR.cooldown.auto = false
|
QR.cooldown.auto = false
|
||||||
QR.status()
|
QR.status()
|
||||||
# Connection error.
|
QR.error $.el 'span',
|
||||||
QR.error 'Network error.'
|
innerHTML: 'Connection error. You may have been <a href=//www.4chan.org/banned target=_blank>banned</a>.'
|
||||||
opts =
|
opts =
|
||||||
form: $.formData postData
|
form: $.formData postData
|
||||||
upCallbacks:
|
upCallbacks:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user