Fixed bug introduced by PR 1391 involving the saving up settings that have an associated text input.

This commit is contained in:
Matt Scott 2023-02-21 07:55:15 -05:00
parent 182ef10a87
commit 564e393292

View File

@ -103,7 +103,7 @@
$(document.body).on('click', '.setting-save-button', function () {
var setting = $(this).prop('id');
var value = $(this).parents('tr').find('#value')[0].value;
var value = $(this).parents('tr').find('input[type="text"]')[0].value;
var postdata = {
'value': value,
'_csrf_token': '{{ csrf_token() }}'