From 847fb62ab55ee0c7b95b52d2f37545930c5df546 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 13 Sep 2021 23:25:13 +0200 Subject: [PATCH] js style --- InvenTree/templates/js/translated/modals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/templates/js/translated/modals.js b/InvenTree/templates/js/translated/modals.js index 2a90a54324..96e41fd6ec 100644 --- a/InvenTree/templates/js/translated/modals.js +++ b/InvenTree/templates/js/translated/modals.js @@ -797,7 +797,7 @@ function insertActionButton(modal, options) { // check if button already present var already_present = false; - for(var child=element[0].firstElementChild; child; child=child.nextElementSibling){ + for (var child=element[0].firstElementChild; child; child=child.nextElementSibling) { if (item.firstElementChild.name == options.name) { already_present = true; }