|
@ -111,7 +111,7 @@ goRight() { |
|
|
|
|
|
|
|
|
goLeft() { |
|
|
goLeft() { |
|
|
console.log("trying to update with the next post"); |
|
|
console.log("trying to update with the next post"); |
|
|
console.log(this_id); |
|
|
console.log(this.currentPost()._id); |
|
|
self.update( |
|
|
self.update( |
|
|
{ |
|
|
{ |
|
|
"currentPosts" : Z.goLeft(self.currentPosts), |
|
|
"currentPosts" : Z.goLeft(self.currentPosts), |
|
|