mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
js style
This commit is contained in:
parent
c890a4a6d0
commit
847fb62ab5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user