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; }