Browse Source

make sure to set the post ID on load

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

3
src/scripts/post.tag

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

Loading…
Cancel
Save