From 05de802d1d09b69b7dcfa93e1e6f9f4b2cb370b5 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 6 Oct 2021 09:14:06 +1100 Subject: [PATCH] javascript linting --- InvenTree/templates/js/translated/stock.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/InvenTree/templates/js/translated/stock.js b/InvenTree/templates/js/translated/stock.js index c6efd88f5f..b88f5f1862 100644 --- a/InvenTree/templates/js/translated/stock.js +++ b/InvenTree/templates/js/translated/stock.js @@ -4,15 +4,12 @@ /* globals attachSelect, - attachToggle, - blankImage, enableField, clearField, clearFieldOptions, closeModal, + constructField, constructFormBody, - constructNumberInput, - createNewModal, getFormFieldValue, global_settings, handleFormErrors, @@ -326,7 +323,7 @@ function adjustStock(action, items, options={}) { var extraFields = {}; if (specifyLocation) { - extraFields.location = {}; + extraFields.location = {}; } if (action != 'delete') {