seatchart fix

This commit is contained in:
s416422 2020-01-13 17:50:20 +01:00
parent b13f83ba2a
commit 30c4a9608b

View File

@ -1,9 +1,9 @@
function savePlaceNumber() {
const selected_id = $('.selected')[0].innerText;
if(selected_id) {
var selected = $('.selected');
if(selected.length) {
var selected_id = $('.selected')[0].innerText;
const seat_number_input = $('.seat_number')[0];
seat_number_input.value = selected_id;
console.log(seat_number_input.value)
}
}