From dfeabddaac016f698fa33d8568131baa761a4c0f Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 16 Feb 2022 17:17:23 +0000 Subject: [PATCH] whitespace --- public/javascripts/lsl.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/public/javascripts/lsl.js b/public/javascripts/lsl.js index e5ec5b3..7d0c4e0 100644 --- a/public/javascripts/lsl.js +++ b/public/javascripts/lsl.js @@ -109,14 +109,14 @@ function new_list_item_submission_done(data) { var item_data = selected_list.data('items'); - var new_item = { - description: $('#new-list-item input[type="text"]').val().trim(), - done: $('#new-list-item input[type="checkbox"]').prop('checked'), - version: 1, - }; - item_data.items.push(new_item); - add_list_item(new_item); + var new_item = { + description: $('#new-list-item input[type="text"]').val().trim(), + done: $('#new-list-item input[type="checkbox"]').prop('checked'), + version: 1, + }; + item_data.items.push(new_item); item_data.version = data.version; + add_list_item(new_item); $('#new-list-item input').val(''); } -- 2.39.5