reverted "Bur restoring old value"

This commit is contained in:
gerard 2018-09-17 14:55:13 +02:00
parent 97f45e7475
commit 6b155c6485
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ export default class Textfield extends Input {
this.hasMouseIn = false;
this.input.addEventListener('keydown', () => {
if (this.oldValue === undefined) {
if (!this.oldValue) {
this.saveOldValue();
}
});