Remove the old syncData reference as it no longer exists

This commit is contained in:
sabaimran
2023-11-10 10:10:07 -08:00
parent a348f1a6ab
commit 1a56344f12

View File

@@ -198,12 +198,6 @@ khojKeyInput.addEventListener('blur', async () => {
khojKeyInput.value = token;
});
const syncButton = document.getElementById('sync-data');
syncButton.addEventListener('click', async () => {
loadingBar.style.display = 'block';
await window.syncDataAPI.syncData(false);
});
const syncForceButton = document.getElementById('sync-force');
syncForceButton.addEventListener('click', async () => {
loadingBar.style.display = 'block';