don't update closed threads

This commit is contained in:
James Campos 2011-10-30 15:42:05 -07:00
parent 25dbf69dd0
commit ee3c827076
2 changed files with 5 additions and 0 deletions

View File

@ -1900,6 +1900,9 @@
updater = {
init: function() {
var checkbox, checked, dialog, html, input, name, title, _i, _len, _ref;
if (!$('form[name=post]')) {
return;
}
if (conf['Scrolling']) {
if (conf['Scroll BG']) {
updater.focus = true;

View File

@ -1433,6 +1433,8 @@ threadHiding =
updater =
init: ->
#thread closed
return unless $ 'form[name=post]'
if conf['Scrolling']
if conf['Scroll BG']
updater.focus = true