Mobile context menu bg; Dragging

This commit is contained in:
James Barnsley
2017-07-20 09:34:21 +12:00
parent 3fdb36ea22
commit f426160d1e
5 changed files with 16 additions and 15 deletions

View File

@ -263,6 +263,8 @@ const UIMiddleware = (function(){
case 'OPEN_MODAL':
ReactGA.event({ category: 'Modal', action: 'Opened', label: action.modal.name })
$('body').addClass('modal-open')
store.dispatch(uiActions.hideContextMenu())
store.dispatch(uiActions.hideTouchContextMenu())
next(action)
break