'Fix' ban error message, reclose #325.
This commit is contained in:
parent
69c69fe91b
commit
13e2898f89
@ -1995,10 +1995,10 @@
|
||||
case 'status':
|
||||
return QR.status(data);
|
||||
case 'banned':
|
||||
QR.error('You are banned.', $.el('a', {
|
||||
href: 'http://www.4chan.org/banned',
|
||||
QR.error('_', $.el('a', {
|
||||
href: '//www.4chan.org/banned',
|
||||
target: '_blank',
|
||||
textContent: 'You are banned.'
|
||||
textContent: 'Connection error, or you are banned.'
|
||||
}));
|
||||
return QR.status({
|
||||
ready: true,
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
master
|
||||
- Mayhem
|
||||
Now works when using https.
|
||||
Ban support improvements and fixes.
|
||||
|
||||
2.29.1
|
||||
- Mayhem
|
||||
|
||||
@ -1677,10 +1677,10 @@ QR =
|
||||
when 'status'
|
||||
QR.status data
|
||||
when 'banned'
|
||||
QR.error 'You are banned.', $.el 'a',
|
||||
href: 'http://www.4chan.org/banned'
|
||||
QR.error '_', $.el 'a',
|
||||
href: '//www.4chan.org/banned'
|
||||
target: '_blank'
|
||||
textContent: 'You are banned.'
|
||||
textContent: 'Connection error, or you are banned.'
|
||||
# Disable iframe reloading
|
||||
QR.status ready: true, banned: true
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user