diff --git a/public/js/index.js b/public/js/index.js index 57658d6..323da28 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2335,7 +2335,7 @@ var addStyleRule = (function () { }()); function updateAuthorshipInner() { // ignore when ot not synced yet - if (Object.keys(cmClient.state).length > 0) return; + if (cmClient && Object.keys(cmClient.state).length > 0) return; authorMarks = {}; for (var i = 0; i < authorship.length; i++) { var atom = authorship[i];