diff options
Diffstat (limited to 'static/edit.js')
-rw-r--r-- | static/edit.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/edit.js b/static/edit.js index 41a82ca..93fb743 100644 --- a/static/edit.js +++ b/static/edit.js @@ -2,12 +2,13 @@ function save_changes() { let summary = $("#summary").val(); let description = $("#description").val(); let link = $("#link").val(); + let featured = $("#featured").is(':checked'); let name = $("#name").val(); $.ajax({ url: '.', type: 'POST', data: { - summary, description, link, name + summary, description, link, name, featured }, }).done(function () { let el = document.createElement("p"); |