Fix issue with Edit field not functioning correctly in Chrome
This commit is contained in:
parent
6170f3886f
commit
fbd542b920
@ -287,7 +287,10 @@ const introSkipper = {
|
||||
inputContainers.forEach(container => {
|
||||
const displayInput = container.querySelector('[id$="Display"]');
|
||||
const editInput = container.querySelector('[id$="Edit"]');
|
||||
displayInput.addEventListener('pointerdown', () => this.switchToEdit(displayInput, editInput));
|
||||
displayInput.addEventListener('pointerdown', (e) => {
|
||||
e.preventDefault();
|
||||
this.switchToEdit(displayInput, editInput);
|
||||
});
|
||||
editInput.addEventListener('blur', () => this.switchToDisplay(displayInput, editInput));
|
||||
displayInput.value = this.formatTime(parseFloat(editInput.value) || 0);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user