From 858d64d0920b99a8fcff3a1c0a6b474c5f98e85a Mon Sep 17 00:00:00 2001 From: Rocka Date: Fri, 27 Jul 2018 10:44:02 +0800 Subject: [PATCH] doc: minor syntax changes about async comments loading --- docs/docs/extras/advanced-integration.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/extras/advanced-integration.rst b/docs/docs/extras/advanced-integration.rst index 76fcdb9..3f4a1f9 100644 --- a/docs/docs/extras/advanced-integration.rst +++ b/docs/docs/extras/advanced-integration.rst @@ -37,10 +37,10 @@ comment thread: window.Isso.fetchComments() It will delete all comments under the thread but not the PostBox, fetch -comments with `data-isso-id` attribute of element `section#isso-thread` (if that -attribute not exists, fallback to `window.location.pathname`), then fill -comments into the thread. In other words, you should change `data-isso-id` -attribute of element `section#isso-thread` (or modify the pathname with +comments with `data-isso-id` attribute of the element `section#isso-thread` (if +that attribute does not exist, fallback to `window.location.pathname`), then +fill comments into the thread. In other words, you should change `data-isso-id` +attribute of the element `section#isso-thread` (or modify the pathname with `location.pushState`) before you can get new comments. And the thread element itself should *NOT* be touched or removed.