Scroll to payment page bottom.

This commit is contained in:
Gucheng Wang
2022-04-27 01:06:54 +08:00
parent ea005aaf4d
commit 5597f99e3c
4 changed files with 16 additions and 2 deletions

View File

@ -795,6 +795,15 @@ export function getFromLink() {
return from;
}
export function scrollToDiv(divId) {
if (divId) {
let ele = document.getElementById(divId);
if (ele) {
ele.scrollIntoView({behavior: "smooth"});
}
}
}
export function getSyncerTableColumns(syncer) {
switch (syncer.type) {
case "Keycloak":