Skip to content

Commit

Permalink
Merge pull request IdentityModel#1240 from AlexanderBaggett/bug/ifram…
Browse files Browse the repository at this point in the history
…e-size

fixed a bug with Iframe width and height
  • Loading branch information
brockallen authored Jan 28, 2021
2 parents 7b16f46 + f1f37e1 commit f0c08c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/CheckSessionIFrame.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export class CheckSessionIFrame {
this._frame.style.visibility = "hidden";
this._frame.style.position = "absolute";
this._frame.style.display = "none";
this._frame.style.width = 0;
this._frame.style.height = 0;
this._frame.width = 0;
this._frame.height = 0;

this._frame.src = url;
}
Expand Down
4 changes: 2 additions & 2 deletions src/IFrameWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export class IFrameWindow {
// shotgun approach
this._frame.style.visibility = "hidden";
this._frame.style.position = "absolute";
this._frame.style.width = 0;
this._frame.style.height = 0;
this._frame.width = 0;
this._frame.height = 0;

window.document.body.appendChild(this._frame);
}
Expand Down

0 comments on commit f0c08c5

Please sign in to comment.