git ssb

16+

Dominic / patchbay



Commit 05491d3f51c3844b64aa3a2b03bfd8692581b412

fix external link click catch

mix irving committed on 3/31/2017, 11:09:20 AM
Parent: 9bc144cce7f943481bbdf418bd837395b337c712

Files changed

main/html/app.jschanged
main/html/app.jsView
@@ -62,9 +62,9 @@
6262 api.main.sync.catchKeyboardShortcut(window, { tabs, search })
6363
6464 // Catch link clicks
6565 api.main.async.catchLinkClick(App, (link, { ctrlKey: openBackground, isExternal }) => {
66- if (isExternal) api.main.html.externalConfirm(link)
66+ if (isExternal) return api.main.html.externalConfirm(link)
6767
6868 if (tabs.has(link)) tabs.select(link)
6969 else {
7070 const changeTab = !openBackground

Built with git-ssb-web