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

Commit

Permalink
Revert "Potential fix for URL bar lag."
Browse files Browse the repository at this point in the history
This reverts commit 57ecf92.

Fix #4573
  • Loading branch information
diracdeltas committed Oct 6, 2016
1 parent 89e849a commit 9e98154
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions js/components/urlBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class UrlBar extends ImmutableComponent {
return windowStore.getFrame(this.props.activeFrameKey)
}

get isActive () {
isActive () {
return this.props.urlbar.get('active')
}

Expand Down Expand Up @@ -370,9 +370,6 @@ class UrlBar extends ImmutableComponent {
}

render () {
const value = !this.isActive || this.props.locationValueSuffix.length > 0
? this.locationValue + this.props.locationValueSuffix
: undefined
return <form
className='urlbarForm'
action='#'
Expand Down Expand Up @@ -415,10 +412,10 @@ class UrlBar extends ImmutableComponent {
onFocus={this.onFocus}
onBlur={this.onBlur}
onKeyDown={this.onKeyDown}
onKeyUp={this.onChange}
onChange={this.onChange}
onClick={this.onClick}
onContextMenu={this.onContextMenu}
value={value}
value={this.locationValue + this.props.locationValueSuffix}
data-l10n-id='urlbar'
className={cx({
insecure: !this.props.isSecure && this.props.loading === false && !this.isHTTPPage,
Expand Down

0 comments on commit 9e98154

Please sign in to comment.