diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-09-30 10:44:59 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-30 10:44:59 +0200 |
commit | d8351156005750fe6c62823ebc7e0d4c1b29e298 (patch) | |
tree | d8ee50b0de4ae21c08d2e94e93ca9da1736129c7 /apps/files/js/newfilemenu.js | |
parent | 733673b39d42507441cd46e42a913f5754c790e8 (diff) | |
download | nextcloud-server-d8351156005750fe6c62823ebc7e0d4c1b29e298.tar.gz nextcloud-server-d8351156005750fe6c62823ebc7e0d4c1b29e298.zip |
Keep opacity in current item in newFileMenu
Whenever the input field appears, the menu item should keep its opacity
instead of reacting on hover.
Diffstat (limited to 'apps/files/js/newfilemenu.js')
-rw-r--r-- | apps/files/js/newfilemenu.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js index 4c021e6b873..b07999821d5 100644 --- a/apps/files/js/newfilemenu.js +++ b/apps/files/js/newfilemenu.js @@ -84,6 +84,8 @@ OC.hideMenus(); } else { event.preventDefault(); + this.$el.find('.menuitem.active').removeClass('active'); + $target.addClass('active'); this._promptFileName($target); } }, |