fix: open url
This commit is contained in:
parent
047fbf06b6
commit
2cfb060750
1 changed files with 1 additions and 3 deletions
|
@ -218,9 +218,7 @@ export namespace BtnAction {
|
||||||
}, fallback, timeout)
|
}, fallback, timeout)
|
||||||
}
|
}
|
||||||
|
|
||||||
export const openUrl = (url: UrlInput, fallback?: () => Promisable<void>, timeout?: number): BtnAction => {
|
export const openUrl = download
|
||||||
return download(url, fallback, timeout, '_blank')
|
|
||||||
}
|
|
||||||
|
|
||||||
export const mscoreWindow = (scoreinfo: ScoreInfo, fn: (w: Window, score: WebMscore, processingTextEl: ChildNode) => any): BtnAction => {
|
export const mscoreWindow = (scoreinfo: ScoreInfo, fn: (w: Window, score: WebMscore, processingTextEl: ChildNode) => any): BtnAction => {
|
||||||
return async (btnName, btn, setText) => {
|
return async (btnName, btn, setText) => {
|
||||||
|
|
Loading…
Reference in a new issue