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

Commit

Permalink
Revert "Only set active tab when value changes"
Browse files Browse the repository at this point in the history
breaks 1password #6871

This reverts commit d4f79be.
  • Loading branch information
bridiver committed Jan 26, 2017
1 parent 0e50ff3 commit aeab0bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/components/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,7 @@ class Frame extends ImmutableComponent {
if (this.getWebRTCPolicy(prevProps) !== this.getWebRTCPolicy(this.props)) {
this.webview.setWebRTCIPHandlingPolicy(this.getWebRTCPolicy(this.props))
}
if (prevProps.isActive !== this.props.isActive) {
this.webview.setActive(this.props.isActive)
}
this.webview.setActive(this.props.isActive)
this.webview.setTabIndex(this.props.tabIndex)
if (prevProps.activeShortcut !== this.props.activeShortcut) {
this.handleShortcut()
Expand Down

0 comments on commit aeab0bd

Please sign in to comment.