Fix potential error
This commit is contained in:
@@ -2335,7 +2335,7 @@ var addStyleRule = (function () {
|
|||||||
}());
|
}());
|
||||||
function updateAuthorshipInner() {
|
function updateAuthorshipInner() {
|
||||||
// ignore when ot not synced yet
|
// ignore when ot not synced yet
|
||||||
if (Object.keys(cmClient.state).length > 0) return;
|
if (cmClient && Object.keys(cmClient.state).length > 0) return;
|
||||||
authorMarks = {};
|
authorMarks = {};
|
||||||
for (var i = 0; i < authorship.length; i++) {
|
for (var i = 0; i < authorship.length; i++) {
|
||||||
var atom = authorship[i];
|
var atom = authorship[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user