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