From 7dc149a7ea8b988ba90f0a46466499ea46580e2e Mon Sep 17 00:00:00 2001 From: Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> Date: Tue, 27 Oct 2020 12:49:10 +0800 Subject: removed console.log --- src/client/views/nodes/PresBox.tsx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx index 914c5270d..f8f794a4b 100644 --- a/src/client/views/nodes/PresBox.tsx +++ b/src/client/views/nodes/PresBox.tsx @@ -164,7 +164,6 @@ export class PresBox extends ViewBoxBaseComponent @action updateCurrentPresentation = (pres?: Doc) => { - console.log('update current pres'); if (pres) Doc.UserDoc().activePresentation = pres; else Doc.UserDoc().activePresentation = this.rootDoc; document.removeEventListener("keydown", PresBox.keyEventsWrapper, true); @@ -209,7 +208,6 @@ export class PresBox extends ViewBoxBaseComponent // Called when the user activates 'next' - to move to the next part of the pres. trail @action next = () => { - console.log("--------------------------------"); const activeNext = Cast(this.childDocs[this.itemIndex + 1], Doc, null); const activeItem: Doc = this.activeItem; const targetDoc: Doc = this.targetDoc; @@ -236,7 +234,6 @@ export class PresBox extends ViewBoxBaseComponent // Called when the user activates 'back' - to move to the previous part of the pres. trail @action back = () => { - console.log("****************************"); const activeItem: Doc = this.activeItem; const targetDoc: Doc = this.targetDoc; const prevItem = Cast(this.childDocs[Math.max(0, this.itemIndex - 1)], Doc, null); @@ -653,7 +650,6 @@ export class PresBox extends ViewBoxBaseComponent //Regular click @action selectElement = (doc: Doc) => { - console.log("~~~~~~~~~~~~~~~~~~~~~~~~~"); const context = Cast(doc.context, Doc, null); this.gotoDocument(this.childDocs.indexOf(doc)); if (doc.presPinView || doc.presentationTargetDoc === this.layoutDoc.presCollection) setTimeout(() => this.updateCurrentPresentation(context), 0); -- cgit v1.2.3-70-g09d2