Skip to content

Commit 73cb0e3

Browse files
committed
Updating comment to textContent
1 parent 03e6366 commit 73cb0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/database/src/realtime/BrowserPollConnection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ export class FirebaseIFrameScriptHolder {
547547
if (this.myIFrame) {
548548
//We have to actually remove all of the html inside this iframe before removing it from the
549549
//window, or IE will continue loading and executing the script tags we've already added, which
550-
//can lead to some errors being thrown. Setting innerText seems to be the safest way to do this.
550+
//can lead to some errors being thrown. Setting textContent seems to be the safest way to do this.
551551
this.myIFrame.doc.body.textContent = '';
552552
setTimeout(() => {
553553
if (this.myIFrame !== null) {

0 commit comments

Comments
 (0)