fix: open url

This commit is contained in:
Xmader 2020-12-31 21:59:10 -05:00
parent 047fbf06b6
commit 2cfb060750
No known key found for this signature in database
GPG Key ID: A20B97FB9EB730E4
1 changed files with 1 additions and 3 deletions

View File

@ -218,9 +218,7 @@ export namespace BtnAction {
}, fallback, timeout)
}
export const openUrl = (url: UrlInput, fallback?: () => Promisable<void>, 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) => {