summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/resources/inkstitch.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js
index 67690df2..e5065fe6 100644
--- a/print/resources/inkstitch.js
+++ b/print/resources/inkstitch.js
@@ -295,6 +295,7 @@ $(function() {
$('.' + field_name).toggle($(this).prop('checked'));
setPageNumbers();
}).on('change', function() {
+ var field_name = $(this).attr('data-field-name');
$.postJSON('/settings/' + field_name, {value: $(this).prop('checked')});
});