Skip to content

Commit b705695

Browse files
committed
fix replacements
1 parent 7b10446 commit b705695

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

indigo_app/static/javascript/indigo/views/document_defined_terms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
});
9797

9898
// set the content once for one mutation record
99-
this.model.xmlDocument.documentElement.replace(xml);
99+
this.model.xmlDocument.documentElement.replaceWith(xml.documentElement);
100100
},
101101
});
102102
})(window);

indigo_app/static/javascript/indigo/views/document_italics_terms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
});
8383

8484
// set the content once for one mutation record
85-
this.model.xmlDocument.documentElement.replace(xml);
85+
this.model.xmlDocument.documentElement.replaceWith(xml.documentElement);
8686
}
8787
});
8888
})(window);

indigo_app/static/javascript/indigo/views/document_references.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
});
9494

9595
// set the content once for one mutation record
96-
this.model.xmlDocument.documentElement.replace(xml);
96+
this.model.xmlDocument.documentElement.replaceWith(xml.documentElement);
9797
},
9898
});
9999
})(window);

0 commit comments

Comments
 (0)