diff --git a/html/js/acc_ledger.js b/html/js/acc_ledger.js
index 1b7558612..94bc14b8b 100644
--- a/html/js/acc_ledger.js
+++ b/html/js/acc_ledger.js
@@ -676,7 +676,7 @@ function view_history_account(p_value, dossier)
remove_waiting_box();
add_div(popup);
success_box(req, xml);
- g(id).style.top = calcy(140 + (layer * 3)) + "px";
+ $(idbox).style.top = calcy(140 + (layer * 3)) + "px";
}
}
);
@@ -748,7 +748,7 @@ function view_history_card(p_value, dossier)
remove_waiting_box();
add_div(popup);
success_box(req, xml);
- g(id).style.top = calcy(140 + (layer * 3)) + "px";
+ g(idbox).style.top = calcy(140 + (layer * 3)) + "px";
}
}
);