Responsive adjustments; Removing library dropzone; Sidebar hide on navigation

This commit is contained in:
James Barnsley
2016-11-30 09:32:46 +13:00
parent 83a899f24e
commit 5f07e855bd
11 changed files with 66 additions and 21 deletions

View File

@ -40,10 +40,10 @@ export function lazyLoading( start ){
}
}
export function toggleSidebar(){
return {
type: 'TOGGLE_SIDEBAR'
}
export function toggleSidebar( new_state = 'toggle' ){
var action = { type: 'TOGGLE_SIDEBAR' }
if( new_state != 'toggle' ) action.new_state = new_state
return action
}
export function dragStart( e, context, victims, victims_indexes = false ){