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 authored and bbondy committed Nov 2, 2016
1 parent 85a41b3 commit 425cbf4
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 @@ -382,6 +382,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 425cbf4

Please sign in to comment.