Shave a line.

This commit is contained in:
Nicolas Stepien 2011-07-19 19:25:29 +02:00
parent 67804ce979
commit 23403e226f
2 changed files with 4 additions and 6 deletions

View File

@ -2644,7 +2644,7 @@
}; };
main = { main = {
init: function() { init: function() {
var DAY, callback, canPost, cutoff, form, hiddenThreads, id, lastChecked, now, op, pathname, reply, table, temp, timestamp, tzOffset, _i, _j, _k, _l, _len, _len2, _len3, _len4, _ref2, _ref3, _ref4, _ref5, _ref6; var DAY, callback, canPost, cutoff, form, hiddenThreads, id, lastChecked, now, op, pathname, table, temp, timestamp, tzOffset, _i, _j, _k, _l, _len, _len2, _len3, _len4, _ref2, _ref3, _ref4, _ref5, _ref6;
pathname = location.pathname.substring(1).split('/'); pathname = location.pathname.substring(1).split('/');
g.BOARD = pathname[0], temp = pathname[1]; g.BOARD = pathname[0], temp = pathname[1];
if (temp === 'res') { if (temp === 'res') {
@ -2806,10 +2806,9 @@
callback(op); callback(op);
} }
} }
_ref5 = $$('td[id]'); _ref5 = $$('a + table');
for (_k = 0, _len3 = _ref5.length; _k < _len3; _k++) { for (_k = 0, _len3 = _ref5.length; _k < _len3; _k++) {
reply = _ref5[_k]; table = _ref5[_k];
table = reply.parentNode.parentNode.parentNode;
_ref6 = g.callbacks; _ref6 = g.callbacks;
for (_l = 0, _len4 = _ref6.length; _l < _len4; _l++) { for (_l = 0, _len4 = _ref6.length; _l < _len4; _l++) {
callback = _ref6[_l]; callback = _ref6[_l];

View File

@ -2200,8 +2200,7 @@ main =
for op in $$ 'div.op' for op in $$ 'div.op'
for callback in g.callbacks for callback in g.callbacks
callback op callback op
for reply in $$ 'td[id]' for table in $$ 'a + table'
table = reply.parentNode.parentNode.parentNode
for callback in g.callbacks for callback in g.callbacks
callback table callback table
$.bind d.body, 'DOMNodeInserted', nodeInserted $.bind d.body, 'DOMNodeInserted', nodeInserted