Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Apr 17, 2024
1 parent b9e8435 commit da329da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/app/src/lighthouse-report-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export class LighthouseReportViewer {
// TODO: Really, `json` should really have type `unknown` and
// we can have _validateReportJson verify that it's an LH.Result
_replaceReportHtml(json) {
const container = dom.find('main');
const container = dom.find('main', document);

// Reset container content.
container.textContent = '';
Expand Down

0 comments on commit da329da

Please sign in to comment.