}
input.value = "";
if (event.getModifierState("Control")) {
- this.setPriority(task, null, document.getElementsByClassName("task")[0]);
+ this.makeTopPriority(task);
}
},
return valid_cursor;
},
+ makeTopPriority: function (task: Element) {
+ this.setPriority(task, null, document.getElementsByClassName("task")[0]);
+ },
+
moveCursor: function (offset: number): boolean {
const active = document.activeElement;
if (!active) return false;