Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

URL bar does not change position/size when navigating from about:newtab #4338

Merged
merged 1 commit into from
Sep 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions js/components/navigationBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,11 @@ class NavigationBar extends ImmutableComponent {
className={cx({
titleMode: this.titleMode
})}>
{
isSourceAboutUrl(this.props.location) || this.titleMode
? null
: <div className='startButtons'>
{
this.loading
<div className='startButtons'>
{
isSourceAboutUrl(this.props.location) || this.titleMode
? <span className='browserButton' />
: this.loading
? <Button iconClass='fa-times'
l10nId='reloadButton'
className='navbutton stop-button'
Expand All @@ -126,9 +125,8 @@ class NavigationBar extends ImmutableComponent {
l10nId='reloadButton'
className='navbutton reload-button'
onClick={this.onReload} />
}
</div>
}
}
</div>
{
!this.titleMode && getSetting(settings.SHOW_HOME_BUTTON)
? <Button iconClass='fa-home'
Expand All @@ -155,7 +153,9 @@ class NavigationBar extends ImmutableComponent {
/>
{
isSourceAboutUrl(this.props.location)
? null
? <div className='endButtons'>
<span className='browserButton' />
</div>
: <div className='endButtons'>
{
!this.showNoScriptInfo
Expand Down