Also fetch manifest property again (#92)

This commit is contained in:
Paulus Schoutsen 2021-11-10 09:02:04 -08:00 committed by GitHub
parent a54682545b
commit e8288b8425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",
() => {