From 86f0a9100f0de2b2735d66aa618c9a2b591c7933 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Mon, 17 Aug 2015 16:57:46 -0700 Subject: [PATCH] [Code Style] Fix merge error Fix merge error in ContextMenuAction which caused test failure. WTD-1482. --- platform/representation/src/actions/ContextMenuAction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/representation/src/actions/ContextMenuAction.js b/platform/representation/src/actions/ContextMenuAction.js index ffe3a190df..60fdd9042f 100644 --- a/platform/representation/src/actions/ContextMenuAction.js +++ b/platform/representation/src/actions/ContextMenuAction.js @@ -114,6 +114,7 @@ define( // Dismiss the menu when body is clicked elsewhere // ('mousedown' because 'click' breaks left-click context menus) body.on('mousedown', dismiss); + menu.on('click', dismiss); // Don't launch browser's context menu actionContext.event.preventDefault();