pad_editor: fix manage show authorship on both pad and chat

This commit is contained in:
Sebastian Castro 2020-04-16 10:18:35 +02:00 committed by muxator
parent c5fdc6129e
commit ca12287a26
2 changed files with 2 additions and 1 deletions

View file

@ -134,6 +134,7 @@ var padeditor = (function()
v = getOption('showAuthorColors', true);
self.ace.setProperty("showsauthorcolors", v);
$('#chattext').toggleClass('authorColors', v);
padutils.setCheckbox($("#options-colorscheck"), v);
// Override from parameters if true

View file

@ -374,7 +374,7 @@
<a id="titlecross" class="hide-reduce-btn" onClick="chat.hide();return false;">-&nbsp;</a>
<a id="titlesticky" class="stick-to-screen-btn" onClick="chat.stickToScreen(true);return false;" data-l10n-id="pad.chat.stick.title">&nbsp;&nbsp;</a>
</div>
<div id="chattext" class="authorColors thin-scrollbar" aria-live="polite" aria-relevant="additions removals text" role="log" aria-atomic="false">
<div id="chattext" class="thin-scrollbar" aria-live="polite" aria-relevant="additions removals text" role="log" aria-atomic="false">
<div alt="loading.." id="chatloadmessagesball" class="chatloadmessages loadingAnimation" align="top"></div>
<button id="chatloadmessagesbutton" class="chatloadmessages" data-l10n-id="pad.chat.loadmessages"></button>
</div>