Skip to content

Commit

Permalink
fix an hterm bug preventing the v86 terminal from launching in firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
ading2210 committed Mar 31, 2024
1 parent a786e1f commit dff13d8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions apps/ashell.app/hterm_all.js
Original file line number Diff line number Diff line change
Expand Up @@ -11835,13 +11835,7 @@ hterm.ScrollPort.prototype.decorate = function(div, callback) {
}
};

// Insert Iframe content asynchronously in FF. Otherwise when the frame's
// load event fires in FF it clears out the content of the iframe.
if ('mozInnerScreenX' in globalThis) { // detect a FF only property
this.iframe_.addEventListener('load', () => onLoad());
} else {
onLoad();
}
onLoad();
};


Expand Down

0 comments on commit dff13d8

Please sign in to comment.