mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-29 06:28:39 +00:00
Added paste and go buttons to the URL bar
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user