Skip to content

Commit a80939e

Browse files
authored
Don’t show Options button on disabled extensions (#60)
1 parent 7eecb6c commit a80939e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/Extension.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
<button type="button" class="ext-name" on:click={toggleExtension} on:contextmenu>
5050
<img alt="" src={getIcon(icons, 16)}>{name}
5151
</button>
52-
{#if showExtras || (optionsUrl && enabled)}
53-
<a href='chrome://extensions/?options={id}' title={getI18N('gotoOpt')} on:click={openInTab}>
52+
{#if optionsUrl && enabled}
53+
<a href={optionsUrl} title={getI18N('gotoOpt')} on:click={openInTab}>
5454
<img src="icons/options.svg" alt="">
5555
</a>
5656
{/if}

0 commit comments

Comments
 (0)