From b23cff621e0fcc0e9ccf90b6c0be31860e9b98a1 Mon Sep 17 00:00:00 2001 From: wes Date: Tue, 20 Jun 2017 18:33:18 -0400 Subject: [PATCH] fix undefined error --- src/scripts/editor.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/editor.tag b/src/scripts/editor.tag index 7320328..2fe5a3c 100644 --- a/src/scripts/editor.tag +++ b/src/scripts/editor.tag @@ -111,7 +111,7 @@ goRight() { goLeft() { console.log("trying to update with the next post"); - console.log(this_id); + console.log(this.currentPost()._id); self.update( { "currentPosts" : Z.goLeft(self.currentPosts),