File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
packages/database/src/realtime Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -548,11 +548,7 @@ export class FirebaseIFrameScriptHolder {
548
548
//We have to actually remove all of the html inside this iframe before removing it from the
549
549
//window, or IE will continue loading and executing the script tags we've already added, which
550
550
//can lead to some errors being thrown. Setting innerHTML seems to be the easiest way to do this.
551
- // TODO() ^ see if there is another way to clear the iframe contents;; can also look at the closure function
552
- // look at analytics function that removes the script tag
553
- // make sure it can't be just removed entirely
554
- // this.myIFrame.doc.body.innerHTML = '';
555
- this . myIFrame . doc . write ( '' ) ;
551
+ this . myIFrame . doc . body . innerText = '' ;
556
552
setTimeout ( ( ) => {
557
553
if ( this . myIFrame !== null ) {
558
554
document . body . removeChild ( this . myIFrame ) ;
You can’t perform that action at this time.
0 commit comments