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

Commit

Permalink
Command+F should close the pulldown on the URL bar Fixes #5340
Browse files Browse the repository at this point in the history
  • Loading branch information
Radoslav Vitanov committed Nov 2, 2016
1 parent 42146a3 commit 1fa13b2
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 1fa13b2

Please sign in to comment.