From ebafc26831e6046f83093eb535b2a807811c65a0 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Mon, 15 Oct 2018 20:43:34 +0800 Subject: [PATCH] fix(#2): missing main() when timeout --- src/disqus.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/disqus.js b/src/disqus.js index f029648..2d66390 100644 --- a/src/disqus.js +++ b/src/disqus.js @@ -117,6 +117,7 @@ let check1 = setTimeout(() => { img.onerror = img.onload = null; setLS('disqusjs_mode', 'dsqjs'); + main(); }, 2000); img.onerror = () => { @@ -129,6 +130,7 @@ let check2 = setTimeout(() => { img.onerror = img.onload = null; setLS('disqusjs_mode', 'dsqjs'); + main(); }, 2000); img.onerror = () => {