Add option to use this in association-insertion-node
This commit is contained in:
parent
6142395878
commit
9dfedb4733
|
@ -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