diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-05-19 14:47:13 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-05-20 11:49:51 +0200 |
commit | d24d30f96be07823b92eea144a147d7bbb3ffb81 (patch) | |
tree | 9b1794bcadc55a6e2375d4c071f812548a93d2cf | |
parent | 3bc312ef9a5936b13492194565d5fddc1f920e49 (diff) | |
download | nextcloud-server-d24d30f96be07823b92eea144a147d7bbb3ffb81.tar.gz nextcloud-server-d24d30f96be07823b92eea144a147d7bbb3ffb81.zip |
Closes "New" dropdown when switching category
* fixes #16394
* return false - stops all following event callbacks
-rw-r--r-- | apps/files/js/navigation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js index be385f21f50..83cd556c89a 100644 --- a/apps/files/js/navigation.js +++ b/apps/files/js/navigation.js @@ -124,7 +124,7 @@ var $target = $(ev.target); var itemId = $target.closest('li').attr('data-id'); this.setActiveItem(itemId); - return false; + ev.preventDefault(); } }; |