mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-10 05:39:11 +00:00
Remove the old syncData reference as it no longer exists
This commit is contained in:
@@ -198,12 +198,6 @@ khojKeyInput.addEventListener('blur', async () => {
|
|||||||
khojKeyInput.value = token;
|
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');
|
const syncForceButton = document.getElementById('sync-force');
|
||||||
syncForceButton.addEventListener('click', async () => {
|
syncForceButton.addEventListener('click', async () => {
|
||||||
loadingBar.style.display = 'block';
|
loadingBar.style.display = 'block';
|
||||||
|
|||||||
Reference in New Issue
Block a user