Update decorator.ts

This commit is contained in:
Eugene Pankov 2022-09-27 23:07:14 +02:00
parent e63ca33483
commit 4564b451c8
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -34,7 +34,6 @@ export class LinkHighlighterDecorator extends TerminalDecorator {
const openLink = async uri => handler.handle(await getLink(uri), tab)
const addon = new WebLinksAddon(
this.onClick.bind(this),
async (event, uri) => {
if (!this.willHandleEvent(event)) {
return