Merge pull request #16 from csegura/master

Use this in association-insertion-node
This commit is contained in:
Nathan Van der Auwera 2011-08-24 23:38:25 -07:00
commit 97daa1b71c
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ $(document).ready(function() {
new_content = new_content.replace(regexp_underscord, newcontent_underscord); new_content = new_content.replace(regexp_underscord, newcontent_underscord);
if (insertionNode){ if (insertionNode){
insertionNode = $(insertionNode); insertionNode = insertionNode == "this" ? $(this) : $(insertionNode);
} else { } else {
insertionNode = $(this).parent(); insertionNode = $(this).parent();
} }