diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-06-03 15:57:25 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-06-03 15:57:25 -0400 |
| commit | ea6b89581ea35acbcf3afa9e424210212be5f1a6 (patch) | |
| tree | e0854cdf1369a871767236650966b40bddb5c441 /print/resources | |
| parent | ae286b17ad450c530d1822208cce75db3bd3faf2 (diff) | |
fix latent bug preventing saving checkbox values
Diffstat (limited to 'print/resources')
| -rw-r--r-- | print/resources/inkstitch.js | 1 |
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')}); }); |
