Skip to content

Commit

Permalink
Merge pull request #1764 from barijaona/issue-1728
Browse files Browse the repository at this point in the history
  • Loading branch information
barijaona authored Jul 3, 2024
2 parents 521386d + 15e1652 commit 07a6e01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Vienna/Sources/Main window/WebKitArticleTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class WebKitArticleTab: BrowserTab, ArticleContentView {
let openInPreferredBrower = !navigationAction.modifierFlags.contains(.option)
// TODO: maybe we need to add an api that opens a clicked link in foreground to the AppController
NSApp.appController.open(navigationAction.request.url, inPreferredBrowser: openInPreferredBrower)
NSApp.mainWindow?.makeFirstResponder((NSApp.appController.articleListView).mainView)
} else {
decisionHandler(.allow)
}
Expand Down

0 comments on commit 07a6e01

Please sign in to comment.