Single selector, less durfing.

This commit is contained in:
Nicolas Stepien 2011-10-10 13:21:30 +02:00
parent 909466b756
commit 6ffcf00871
2 changed files with 2 additions and 2 deletions

View File

@ -3131,7 +3131,7 @@
expandComment.init();
}
}
nodes = $$('.op').concat($$('a + table'));
nodes = $$('.op, a + table');
g.callbacks.forEach(function(callback) {
return nodes.forEach(callback);
});

View File

@ -2369,7 +2369,7 @@ Main =
if conf['Comment Expansion']
expandComment.init()
nodes = $$('.op').concat $$ 'a + table'
nodes = $$ '.op, a + table'
g.callbacks.forEach (callback) -> nodes.forEach callback
$.bind $('form[name=delform]'), 'DOMNodeInserted', nodeInserted
options.init()