mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Formatted the project
This commit is contained in:
@@ -221,9 +221,7 @@ var gZenUIManager = {
|
||||
urlbarTrim(aURL) {
|
||||
if (gZenVerticalTabsManager._hasSetSingleToolbar) {
|
||||
let url = BrowserUIUtils.removeSingleTrailingSlashFromURL(aURL);
|
||||
return (url.startsWith("http://") || url.startsWith("https://"))
|
||||
? url.split('/')[2]
|
||||
: url;
|
||||
return url.startsWith('http://') || url.startsWith('https://') ? url.split('/')[2] : url;
|
||||
}
|
||||
return BrowserUIUtils.trimURL(aURL);
|
||||
},
|
||||
|
Reference in New Issue
Block a user