更新 pokemon_cafe.js

use seatId
This commit is contained in:
2024-06-28 09:19:42 +00:00
parent b787b8e2bb
commit 7b5f3cf739

View File

@@ -59,7 +59,7 @@
} else if ('/reserve/step2' == location.pathname) { } else if ('/reserve/step2' == location.pathname) {
const seatId = chooseSeat(); const seatId = chooseSeat();
if (seatId != -1) { if (seatId != -1) {
$('input[name=seat_id]')[0].value = chooseSeat(); $('input[name=seat_id]')[0].value = seatId;
$('input[name=guest]')[0].value = guest; $('input[name=guest]')[0].value = guest;
$('#hidden-form')[0].submit(); $('#hidden-form')[0].submit();
} else { } else {