Single selector, less durfing.
This commit is contained in:
parent
909466b756
commit
6ffcf00871
@ -3131,7 +3131,7 @@
|
|||||||
expandComment.init();
|
expandComment.init();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nodes = $$('.op').concat($$('a + table'));
|
nodes = $$('.op, a + table');
|
||||||
g.callbacks.forEach(function(callback) {
|
g.callbacks.forEach(function(callback) {
|
||||||
return nodes.forEach(callback);
|
return nodes.forEach(callback);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -2369,7 +2369,7 @@ Main =
|
|||||||
if conf['Comment Expansion']
|
if conf['Comment Expansion']
|
||||||
expandComment.init()
|
expandComment.init()
|
||||||
|
|
||||||
nodes = $$('.op').concat $$ 'a + table'
|
nodes = $$ '.op, a + table'
|
||||||
g.callbacks.forEach (callback) -> nodes.forEach callback
|
g.callbacks.forEach (callback) -> nodes.forEach callback
|
||||||
$.bind $('form[name=delform]'), 'DOMNodeInserted', nodeInserted
|
$.bind $('form[name=delform]'), 'DOMNodeInserted', nodeInserted
|
||||||
options.init()
|
options.init()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user