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