From 2cfb060750df77bf319bb5b58cb390f4e9bf4350 Mon Sep 17 00:00:00 2001 From: Xmader Date: Thu, 31 Dec 2020 21:59:10 -0500 Subject: [PATCH] fix: open url --- src/btn.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/btn.ts b/src/btn.ts index 36f1f08..a724a7d 100644 --- a/src/btn.ts +++ b/src/btn.ts @@ -218,9 +218,7 @@ export namespace BtnAction { }, fallback, timeout) } - export const openUrl = (url: UrlInput, fallback?: () => Promisable, timeout?: number): BtnAction => { - return download(url, fallback, timeout, '_blank') - } + export const openUrl = download export const mscoreWindow = (scoreinfo: ScoreInfo, fn: (w: Window, score: WebMscore, processingTextEl: ChildNode) => any): BtnAction => { return async (btnName, btn, setText) => {