Fix left-click disabled in Edge after renaming a file
parent
35a49ac195
commit
9cea8d82c2
|
@ -202,7 +202,7 @@ span.fa-folder-open {
|
|||
float: right;
|
||||
}
|
||||
#content li:not(.header) *:not(input) {
|
||||
pointer-events: none;
|
||||
/*pointer-events: none;*/
|
||||
}
|
||||
#content li:not(.header):hover .name {
|
||||
text-decoration: underline;
|
||||
|
|
|
@ -244,7 +244,7 @@ span {
|
|||
li {
|
||||
&:not(.header) {
|
||||
*:not(input) {
|
||||
pointer-events: none;
|
||||
/*pointer-events: none;*/
|
||||
}
|
||||
&:hover {
|
||||
.name {
|
||||
|
|
|
@ -300,10 +300,10 @@ define([
|
|||
});
|
||||
$input.on('keyup', function (e) {
|
||||
if (e.which === 13) {
|
||||
removeInput();
|
||||
filesOp.renameElement(path, $input.val(), function () {
|
||||
refresh();
|
||||
});
|
||||
removeInput();
|
||||
}
|
||||
});
|
||||
//$element.parent().append($input);
|
||||
|
|
Loading…
Reference in New Issue