-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
We are using this library to display a terminal. It works properly on Chrome but noticed that anything on the page gets duplicated in Firefox:
Terminal on Chrome
Terminal on FF
I believe the culprit lies in hterm.ScrollPort.prototype.decorate
:
hterm.ScrollPort.prototype.decorate = function(div) {
// ...
if ('mozInnerScreenX' in window) // detect a FF only property
this.iframe_.src = '#';
// ...
Having the iframe src
be #
will duplicate whatever is on the page, including all the headers defined on the page consuming this library.
Metadata
Metadata
Assignees
Labels
No labels