Skip to content

Commit

Permalink
fix: replace popup.xul with popup.xhtml in root.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lifan0127 committed Apr 15, 2024
1 parent ad26e4f commit 2dc6b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class ReactRoot {
const left = window.screenX + window.outerWidth / 2 - dialogWidth / 2
const top = window.screenY + window.outerHeight / 2 - dialogHeight / 2
const dialog = (window as any).openDialog(
'chrome://aria/content/popup.xul',
'chrome://aria/content/popup.xhtml',
`${config.addonRef}-window`,
`chrome,titlebar,status,width=${dialogWidth},height=${dialogHeight},left=${left},top=${top},resizable=yes`,
windowArgs
Expand Down

0 comments on commit 2dc6b39

Please sign in to comment.