fix api-get-text

This commit is contained in:
Ibnu Maksum 2024-06-26 17:39:28 +07:00
parent 354606d71c
commit 5f5ff4f760
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
2 changed files with 10 additions and 7 deletions

View File

@ -559,5 +559,6 @@
"Verification_code_has_been_sent_to_your_phone": "Kode verifikasi telah dikirimkan ke ponsel Anda",
"Please_wait_1039_seconds_before_sending_another_SMS": "Harap tunggu 1039 detik sebelum mengirim SMS lainnya",
"Please_wait_1015_seconds_before_sending_another_SMS": "Harap tunggu 1015 detik sebelum mengirim SMS lainnya",
"Phone_number_updated_successfully": "Nomor telepon berhasil diperbarui"
"Phone_number_updated_successfully": "Nomor telepon berhasil diperbarui",
"You_cannot_use_your_current_phone_number": "Anda tidak dapat menggunakan nomor telepon Anda saat ini"
}

View File

@ -47,14 +47,16 @@
}
});
});
var listAtts = document.querySelectorAll(`[api-get-text]`);
listAtts.forEach(function(el) {
setTimeout(() => {
var listAttApi = document.querySelectorAll(`[api-get-text]`);
listAttApi.forEach(function(el) {
$.get(el.getAttribute('api-get-text'), function(data) {
el.innerHTML = data;
});
});
}, 500);
});
function setKolaps() {
var kolaps = getCookie('kolaps');