Added paste and go buttons to the URL bar

This commit is contained in:
mauro-balades
2024-09-26 17:17:16 +02:00
parent 996c292916
commit d8797fceb2

View File

@@ -8,7 +8,7 @@
window.SessionStore.promiseInitialized.then(async () => { window.SessionStore.promiseInitialized.then(async () => {
this._changeSidebarLocation(); this._changeSidebarLocation();
this._zenInitBrowserLayout(); this._zenInitBrowserLayout();
this._focusSearchBar(); this._initSearchBar();
}); });
}, },
@@ -125,8 +125,13 @@
toolbox.insertAdjacentElement('afterend', splitter); toolbox.insertAdjacentElement('afterend', splitter);
}, },
_focusSearchBar() { _initSearchBar() {
// Only focus the url bar
gURLBar.focus(); gURLBar.focus();
gURLBar._initCopyCutController();
gURLBar._initPasteAndGo();
gURLBar._initStripOnShare();
}, },
logHeader() { logHeader() {