We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 397fa78 commit b089bc2Copy full SHA for b089bc2
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -732,7 +732,7 @@ function RemoteFunctions(config) {
732
},
733
734
remove: function() {
735
- if (this.body && this.body.parentNode) {
+ if (this.body && this.body.parentNode && this.body.parentNode === window.document.body) {
736
window.document.body.removeChild(this.body);
737
this.body = null;
738
}
@@ -896,7 +896,7 @@ function RemoteFunctions(config) {
896
897
898
899
900
901
902
0 commit comments