mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 16:45:13 +02:00
disable keydown listeners while editing filename
This commit is contained in:
parent
ef6cb9ecbe
commit
514729894f
@ -53,6 +53,7 @@ export class NavEntry {
|
||||
let elem = e.target;
|
||||
elem.style.width = elem.value.length + "ch";
|
||||
}
|
||||
title_edit.addEventListener("keydown", (e) => {e.stopPropagation();});
|
||||
title_edit.addEventListener("click", (e) => {e.stopPropagation();});
|
||||
this.dom_element.appendChild(title_edit);
|
||||
this.stat = stat;
|
||||
|
Loading…
x
Reference in New Issue
Block a user