Unify create_test and create_tune
This commit is contained in:
1 parent
6a53772659
commit
0b17de9426
9 files changed
+342
-538
No files matched your search
@@ -4,6 +4,9 @@ function enforce_default_text(id, text) {
|
||||
|
||||
var field = document.getElementById(id);
|
||||
|
||||
if (!field)
|
||||
return;
|
||||
|
||||
field.addEventListener('input', function() {
|
||||
|
||||
if (field.value.startsWith(text) || field.value === text)
|
||||
|
||||
Reference in new issue
Block a user