mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-09-25 18:58:42 +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;
|
let elem = e.target;
|
||||||
elem.style.width = elem.value.length + "ch";
|
elem.style.width = elem.value.length + "ch";
|
||||||
}
|
}
|
||||||
|
title_edit.addEventListener("keydown", (e) => {e.stopPropagation();});
|
||||||
title_edit.addEventListener("click", (e) => {e.stopPropagation();});
|
title_edit.addEventListener("click", (e) => {e.stopPropagation();});
|
||||||
this.dom_element.appendChild(title_edit);
|
this.dom_element.appendChild(title_edit);
|
||||||
this.stat = stat;
|
this.stat = stat;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user