mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
When noColors is set hide the clearAuthorship colors button
This commit is contained in:
parent
a46a723b09
commit
990a559a09
2 changed files with 2 additions and 1 deletions
|
@ -92,6 +92,7 @@ function getParams()
|
||||||
if(IsnoColors == "true")
|
if(IsnoColors == "true")
|
||||||
{
|
{
|
||||||
noColors = true;
|
noColors = true;
|
||||||
|
$('#clearAuthorship').hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(showControls)
|
if(showControls)
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="separator"></li>
|
<li class="separator"></li>
|
||||||
<li onClick="window.pad&&pad.editbarClick('clearauthorship');return false;" >
|
<li id="clearAuthorship" onClick="window.pad&&pad.editbarClick('clearauthorship');return false;" >
|
||||||
<a title="Clear Authorship Colors">
|
<a title="Clear Authorship Colors">
|
||||||
<div class="buttonicon" style="background-position:0px -86px"></div>
|
<div class="buttonicon" style="background-position:0px -86px"></div>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue