inquiry: fix clearing note when submitting it

fix https://github.com/lichess-org/tavern/issues/100
pull/8662/head
kraktus 2021-04-14 17:00:20 +01:00 committed by GitHub
parent 92441e6c94
commit 415f645f19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ $(function () {
$('#inquiry .notes').on('change', () => setTimeout(() => noteStore.set(noteTextArea.value), 50));
$('#inquiry .notes').on('submit', () => noteStore.remove);
$('#inquiry .notes').on('submit', noteStore.remove);
$('#inquiry .costello').on('click', () => {
$('#inquiry').toggleClass('hidden');