show install dialog instead
This commit is contained in:
parent
fa0bae7295
commit
4157b00cdf
|
@ -89,7 +89,7 @@ const headerTabs = $computed(() => []);
|
||||||
|
|
||||||
function installPwa(ev: MouseEvent) {
|
function installPwa(ev: MouseEvent) {
|
||||||
const pwaInstall = document.getElementsByTagName('pwa-install')[0];
|
const pwaInstall = document.getElementsByTagName('pwa-install')[0];
|
||||||
pwaInstall.install();
|
pwaInstall.showDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
definePageMetadata({
|
definePageMetadata({
|
||||||
|
|
Loading…
Reference in New Issue