0.0.26 my routes
This commit is contained in:
@@ -71,8 +71,8 @@ function updateCargoTypeInForm(el, type_transport='') {
|
|||||||
|
|
||||||
let html = generateRadioInput(obj)
|
let html = generateRadioInput(obj)
|
||||||
|
|
||||||
if ($widget.firstElementChild){
|
if ($widget.lastElementChild){
|
||||||
$(html).insertAfter($($widget.firstElementChild))
|
$(html).insertAfter($($widget.lastElementChild))
|
||||||
} else {
|
} else {
|
||||||
$widget.innerHTML = html
|
$widget.innerHTML = html
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user