From ef0ab51a76a7e6b0298a5f18d8badba460a9667b Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sun, 21 Apr 2019 23:05:33 +0800 Subject: [PATCH] feat(nesting): custom nesting configuration --- src/disqus.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/disqus.js b/src/disqus.js index 94cf7b0..1676c94 100644 --- a/src/disqus.js +++ b/src/disqus.js @@ -584,7 +584,7 @@ let html = (() => { // 如果当前评论嵌套数大于 4 则不再右移 - if (nesting < 4) { + if (nesting < disqusjs.config.nesting) { return '