Can now reply to threads

This commit is contained in:
2017-06-26 23:04:15 +02:00
parent fad6f7657a
commit db28721126
3 changed files with 26 additions and 6 deletions

View File

@ -153,7 +153,7 @@ export class AnimeNotifier {
}
}
diffURL(url: string) {
load(url: string) {
let request = fetch("/_" + url, {
credentials: "same-origin"
})
@ -165,7 +165,7 @@ export class AnimeNotifier {
this.unmountMountables()
this.loading(true)
delay(300).then(() => {
return delay(300).then(() => {
request
.then(html => this.app.setContent(html, true))
.then(() => this.app.markActiveLinks())