From 8f5f612c7abc23acec004761c4b6dbd85583531f Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Mon, 18 Mar 2019 11:21:02 +0100 Subject: [PATCH] Update file-explorer.js fixed tests (expanding) --- src/app/files/file-explorer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index 98bc103966..4df39e76f1 100644 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -509,13 +509,14 @@ fileExplorer.prototype.renderMenuItems = function () { return yo` ` } else { return yo` - { this[ action ]() }} class="newFile ${css.newFile}" title=${title}> + { event.stopPropagation(); this[ action ]() }} class="newFile ${css.newFile}" title=${title}> `