Browse Source

make sure to set the post ID on load

pull/1/head
wes 8 years ago
parent
commit
a78c75472c
  1. 3
      src/scripts/post.tag

3
src/scripts/post.tag

@ -82,8 +82,7 @@ next(ev) {
} }
setPost(pid) { setPost(pid) {
console.log("in setPost"); this.pid = pid;
console.log(pid);
this.update(); this.update();
this.loading = true; this.loading = true;
fetch(`/blog/switchpost/${pid-1}`) fetch(`/blog/switchpost/${pid-1}`)

Loading…
Cancel
Save