diff --git a/app/view/main/MainController.js b/app/view/main/MainController.js index eb6869f2..ddd10e61 100644 --- a/app/view/main/MainController.js +++ b/app/view/main/MainController.js @@ -40,8 +40,7 @@ Ext.define('Hamsket.view.main.MainController', { return; } - const webview = newTab.getWebView(); - if ( webview ) webview.focus(); + newTab.focus(); // Update the main window so it includes the active tab title. if ( Hamsket.app.getTotalNotifications() > 0 ) {