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

Commit

Permalink
Merge pull request #5344 from Sh1d0w/hotfix/suggestions-searching-fix
Browse files Browse the repository at this point in the history
Command+F should close the pulldown on the URL bar Fixes #5340
  • Loading branch information
bbondy committed Nov 2, 2016
2 parents 42146a3 + 1fa13b2 commit f9067aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/stores/windowStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ const doAction = (action) => {
})
break
case WindowConstants.WINDOW_SET_FINDBAR_SHOWN:
if (action.shown) {
windowState = windowState.setIn(activeFrameStatePath().concat(['navbar', 'urlbar', 'suggestions', 'shouldRender']), false)
}
windowState = windowState.mergeIn(['frames', FrameStateUtil.getFramePropsIndex(windowState.get('frames'), action.frameProps)], {
findbarShown: action.shown
})
Expand Down

0 comments on commit f9067aa

Please sign in to comment.