voterunner

quick and dirty votes and discussions
git clone https://git.ce9e.org/voterunner.git

commit
a94e835dcec47d7eaffed0efc03ef6859b505f97
parent
688932ce5f50dccd003941881eb5f7daf0022d03
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-10-18 07:11
change name on input event

Diffstat

M static/src/voterunner.js 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/static/src/voterunner.js b/static/src/voterunner.js

@@ -91,7 +91,7 @@ document.addEventListener('DOMContentLoaded', function() {
   91    91 		}
   92    92 	});
   93    93 
   94    -1 	utils.on(document, 'change', '.user__name input', function() {
   -1    94 	utils.on(document, 'input', '.user__name input', function() {
   95    95 		state.id = this.value;
   96    96 		state.dirty = false;
   97    97 		update(state);