Merge pull request #16 from csegura/master
Use this in association-insertion-node
This commit is contained in:
commit
97daa1b71c
|
@ -29,7 +29,7 @@ $(document).ready(function() {
|
|||
new_content = new_content.replace(regexp_underscord, newcontent_underscord);
|
||||
|
||||
if (insertionNode){
|
||||
insertionNode = $(insertionNode);
|
||||
insertionNode = insertionNode == "this" ? $(this) : $(insertionNode);
|
||||
} else {
|
||||
insertionNode = $(this).parent();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue