Update ui/app/AppLayouts/Browser/BrowserLayout.qml

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
RichΛrd 2020-12-02 12:00:23 -04:00 committed by Iuri Matias
parent 3e1a1c9ca9
commit ad11305b98
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ Rectangle {
} else if (request.destination === WebEngineView.NewViewInBackgroundTab) { } else if (request.destination === WebEngineView.NewViewInBackgroundTab) {
var backgroundTab = tabs.createEmptyTab(currentWebView.profile); var backgroundTab = tabs.createEmptyTab(currentWebView.profile);
request.openIn(backgroundTab.item); request.openIn(backgroundTab.item);
// Disablign popups temporarily since we need to set that webengineview settings / channel and other proeprties // Disabling popups temporarily since we need to set that webengineview settings / channel and other properties
/*} else if (request.destination === WebEngineView.NewViewInDialog) { /*} else if (request.destination === WebEngineView.NewViewInDialog) {
var dialog = browserDialogComponent.createObject(); var dialog = browserDialogComponent.createObject();
dialog.currentWebView.profile = currentWebView.profile; dialog.currentWebView.profile = currentWebView.profile;