Refactored changes to ContextMenuGesture.js

This commit is contained in:
Henry
2015-11-27 13:00:23 -08:00
parent 9eb8158c4e
commit 4b23e3fbcb
4 changed files with 28 additions and 13 deletions

View File

@@ -82,11 +82,7 @@ define(
initiatingEvent = this.agentService.isMobile() ?
'touchstart' : 'mousedown',
menu,
popup;
if (this.navigationService.getNavigation() && this.navigationService.getNavigation().hasCapability('editor')){
return;
}
popup
// Remove the context menu
function dismiss() {