[DE][SSE] Don't show resolved comments by default
This commit is contained in:
parent
601842c2f9
commit
b31efd58ca
|
@ -333,7 +333,7 @@ define([
|
|||
|
||||
value = Common.localStorage.getBool("de-settings-livecomment", true);
|
||||
Common.Utils.InternalSettings.set("de-settings-livecomment", value);
|
||||
var resolved = Common.localStorage.getBool("de-settings-resolvedcomment", true);
|
||||
var resolved = Common.localStorage.getBool("de-settings-resolvedcomment");
|
||||
Common.Utils.InternalSettings.set("de-settings-resolvedcomment", resolved);
|
||||
if (this.mode.canComments && this.leftMenu.panelComments.isVisible())
|
||||
value = resolved = true;
|
||||
|
|
|
@ -815,7 +815,7 @@ define([
|
|||
/** coauthoring begin **/
|
||||
this.isLiveCommenting = Common.localStorage.getBool("de-settings-livecomment", true);
|
||||
Common.Utils.InternalSettings.set("de-settings-livecomment", this.isLiveCommenting);
|
||||
value = Common.localStorage.getBool("de-settings-resolvedcomment", true);
|
||||
value = Common.localStorage.getBool("de-settings-resolvedcomment");
|
||||
Common.Utils.InternalSettings.set("de-settings-resolvedcomment", value);
|
||||
this.isLiveCommenting ? this.api.asc_showComments(value) : this.api.asc_hideComments();
|
||||
/** coauthoring end **/
|
||||
|
|
|
@ -279,7 +279,7 @@ define([
|
|||
/** coauthoring begin **/
|
||||
value = Common.localStorage.getBool("sse-settings-livecomment", true);
|
||||
Common.Utils.InternalSettings.set("sse-settings-livecomment", value);
|
||||
var resolved = Common.localStorage.getBool("sse-settings-resolvedcomment", true);
|
||||
var resolved = Common.localStorage.getBool("sse-settings-resolvedcomment");
|
||||
Common.Utils.InternalSettings.set("sse-settings-resolvedcomment", resolved);
|
||||
|
||||
if (this.mode.canComments && this.leftMenu.panelComments.isVisible())
|
||||
|
|
|
@ -616,7 +616,7 @@ define([
|
|||
/** coauthoring begin **/
|
||||
this.isLiveCommenting = Common.localStorage.getBool("sse-settings-livecomment", true);
|
||||
Common.Utils.InternalSettings.set("sse-settings-livecomment", this.isLiveCommenting);
|
||||
value = Common.localStorage.getBool("sse-settings-resolvedcomment", true);
|
||||
value = Common.localStorage.getBool("sse-settings-resolvedcomment");
|
||||
Common.Utils.InternalSettings.set("sse-settings-resolvedcomment", value);
|
||||
this.isLiveCommenting ? this.api.asc_showComments(value) : this.api.asc_hideComments();
|
||||
|
||||
|
|
Loading…
Reference in a new issue