From f791bc2916bab62e0ae269583099a18874fcd759 Mon Sep 17 00:00:00 2001 From: Brian Clifton Date: Tue, 27 Sep 2016 14:43:25 -0700 Subject: [PATCH] URL bar does not change position/size when going from about:newtab to an actual URL. Fixes https://github.com/brave/browser-laptop/issues/4303 Auditors: @srirambv --- js/components/navigationBar.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/js/components/navigationBar.js b/js/components/navigationBar.js index 1fd4d8b18bc..82c8b860d9b 100644 --- a/js/components/navigationBar.js +++ b/js/components/navigationBar.js @@ -112,12 +112,11 @@ class NavigationBar extends ImmutableComponent { className={cx({ titleMode: this.titleMode })}> - { - isSourceAboutUrl(this.props.location) || this.titleMode - ? null - :
- { - this.loading +
+ { + isSourceAboutUrl(this.props.location) || this.titleMode + ? + : this.loading ?
- } + } +
{ !this.titleMode && getSetting(settings.SHOW_HOME_BUTTON) ?