Remove console.logs

pull/774/head
Zef Hemel 2024-03-02 15:23:25 +01:00
parent 398e452308
commit e6faaca67c
1 changed files with 0 additions and 2 deletions

View File

@ -78,14 +78,12 @@ export class SyncService implements ISyncService {
); );
eventHook.addLocalListener("editor:pageSaving", () => { eventHook.addLocalListener("editor:pageSaving", () => {
console.log("Saving...");
this.savingTimeout = setTimeout(() => { this.savingTimeout = setTimeout(() => {
this.savingTimeout = undefined; this.savingTimeout = undefined;
}, 1000 * 5); }, 1000 * 5);
}); });
eventHook.addLocalListener("editor:pageSaved", (name) => { eventHook.addLocalListener("editor:pageSaved", (name) => {
console.log("Done saving...");
if (this.savingTimeout) { if (this.savingTimeout) {
clearTimeout(this.savingTimeout); clearTimeout(this.savingTimeout);
this.savingTimeout = undefined; this.savingTimeout = undefined;