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