From 2f8e8adb7997072b514717c0b696511efeb06d7b Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Fri, 12 Mar 2021 13:21:20 -0600 Subject: [PATCH] cleanup --- ErsatzTV/Pages/_Host.cshtml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ErsatzTV/Pages/_Host.cshtml b/ErsatzTV/Pages/_Host.cshtml index 0f26c6e9b..00edcedee 100644 --- a/ErsatzTV/Pages/_Host.cshtml +++ b/ErsatzTV/Pages/_Host.cshtml @@ -25,9 +25,7 @@ function sortableCollection(collectionId) { $("#sortable-collection").sortable({ update: function(event, ui) { - var data = $(this).sortable('serialize'); - - // POST to server using $.post or $.ajax + const data = $(this).sortable('serialize'); $.ajax({ data: data, type: 'POST',