Skip to content

Commit

Permalink
Also fetch manifest property again (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Nov 10, 2021
1 parent a546825 commit e8288b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const connect = async (button: InstallButton) => {

const el = document.createElement("ewt-install-dialog");
el.port = port;
el.manifestPath = button.getAttribute("manifest")!;
el.manifestPath = button.manifest || button.getAttribute("manifest")!;
el.addEventListener(
"closed",
() => {
Expand Down

0 comments on commit e8288b8

Please sign in to comment.