Derp, threading.init is always executed first.

This commit is contained in:
Nicolas Stepien 2011-09-28 19:24:15 +02:00
parent 45e2dbef2e
commit c35324d46e
2 changed files with 2 additions and 6 deletions

View File

@ -1788,9 +1788,7 @@
};
threading = {
init: function() {
var node;
node = $('form[name=delform] > *:not([id])');
return threading.thread(node);
return threading.thread($('body > form').firstChild);
},
op: function(node) {
var op;

View File

@ -1318,9 +1318,7 @@ QR =
threading =
init: ->
# don't thread image controls
node = $ 'form[name=delform] > *:not([id])'
threading.thread node
threading.thread $('body > form').firstChild
op: (node) ->
op = $.el 'div',