Keep opacity in current item in newFileMenu
Whenever the input field appears, the menu item should keep its opacity instead of reacting on hover.
This commit is contained in:
parent
733673b39d
commit
d835115600
2 changed files with 6 additions and 0 deletions
|
@ -746,6 +746,10 @@ table.dragshadow td.size {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.newFileMenu.popovermenu a.menuitem.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.newFileMenu.bubble:after {
|
||||
left: 75px;
|
||||
right: auto;
|
||||
|
|
|
@ -84,6 +84,8 @@
|
|||
OC.hideMenus();
|
||||
} else {
|
||||
event.preventDefault();
|
||||
this.$el.find('.menuitem.active').removeClass('active');
|
||||
$target.addClass('active');
|
||||
this._promptFileName($target);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue