When noColors is set hide the clearAuthorship colors button

pull/128/merge
John McLear 2011-12-04 15:29:34 +00:00 committed by Peter 'Pita' Martischka
parent a46a723b09
commit 990a559a09
2 changed files with 2 additions and 1 deletions

View File

@ -92,6 +92,7 @@ function getParams()
if(IsnoColors == "true")
{
noColors = true;
$('#clearAuthorship').hide();
}
}
if(showControls)

View File

@ -71,7 +71,7 @@
</a>
</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">
<div class="buttonicon" style="background-position:0px -86px"></div>
</a>