Update inject.js
This commit is contained in:
parent
e8fcdf53de
commit
182fe9f831
@ -290,7 +290,7 @@ const introSkipper = {
|
|||||||
inputContainers.forEach(container => {
|
inputContainers.forEach(container => {
|
||||||
const displayInput = container.querySelector('[id$="Display"]');
|
const displayInput = container.querySelector('[id$="Display"]');
|
||||||
const editInput = container.querySelector('[id$="Edit"]');
|
const editInput = container.querySelector('[id$="Edit"]');
|
||||||
displayInput.addEventListener('click', () => this.switchToEdit(displayInput, editInput));
|
displayInput.addEventListener('pointerdown', () => this.switchToEdit(displayInput, editInput));
|
||||||
editInput.addEventListener('blur', () => this.switchToDisplay(displayInput, editInput));
|
editInput.addEventListener('blur', () => this.switchToDisplay(displayInput, editInput));
|
||||||
displayInput.value = this.formatTime(parseFloat(editInput.value) || 0);
|
displayInput.value = this.formatTime(parseFloat(editInput.value) || 0);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user