Fix missing type declaration warning in svelte template

This commit is contained in:
hensm
2022-09-10 18:36:19 +01:00
parent b64fc3ebdc
commit 764a5e0a00

View File

@@ -317,16 +317,16 @@
data: { deviceId: device.id }
});
}
function openOptionsPage() {
browser.runtime.openOptionsPage();
}
</script>
{#if !isBridgeCompatible}
<div class="banner banner--warn">
{_("popupBridgeErrorBanner")}
<button
on:click={() => {
browser.runtime.openOptionsPage();
}}
>
<button on:click={openOptionsPage}>
{_("popupBridgeErrorBannerOptions")}
</button>
</div>