Remove ban checking from the updater. Bans only affect sys.4chan.org from now on.

This commit is contained in:
Nicolas Stepien 2012-02-19 17:44:37 +01:00
parent ebbdb57fd3
commit b01dfd42dd
2 changed files with 0 additions and 11 deletions

View File

@ -2462,11 +2462,6 @@
body = $.el('body', {
innerHTML: this.responseText
});
if ($('title', body).textContent === '4chan - Banned') {
updater.count.textContent = 'Banned';
updater.count.className = 'warning';
return;
}
id = ((_ref = $('td[id]', updater.br.previousElementSibling)) != null ? _ref.id : void 0) || 0;
nodes = [];
_ref2 = $$('.reply', body).reverse();

View File

@ -1958,12 +1958,6 @@ updater =
body = $.el 'body',
innerHTML: @responseText
#this only works on Chrome because of cross origin policy
if $('title', body).textContent is '4chan - Banned'
updater.count.textContent = 'Banned'
updater.count.className = 'warning'
return
id = $('td[id]', updater.br.previousElementSibling)?.id or 0
nodes = []
for reply in $$('.reply', body).reverse()