mirror of https://github.com/keeweb/keeweb
fixed links in desktop apps
parent
7dbb0a2e8f
commit
5c5de91672
|
@ -836,7 +836,10 @@ class AppView extends View {
|
|||
extLinkClick(e) {
|
||||
if (Launcher) {
|
||||
e.preventDefault();
|
||||
Launcher.openLink(e.target.href);
|
||||
const link = e.target.closest('a');
|
||||
if (link?.href) {
|
||||
Launcher.openLink(link.href);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,9 @@
|
|||
data-extension="kwc" />
|
||||
<label for="check-enable-kwc-for-{{perBrowser.browser}}"></label>
|
||||
{{#if perBrowser.kwc}}
|
||||
<i class="fa fa-download"></i>
|
||||
<a href="https://example.com" target="_blank" rel="noreferrer">
|
||||
<i class="fa fa-download"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</td>
|
||||
{{#ifeq perBrowser.browser 'Safari'}}
|
||||
|
|
Loading…
Reference in New Issue