From 990a559a09c8ab39238705b8417390ffc470fd0d Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 4 Dec 2011 15:29:34 +0000 Subject: [PATCH] When noColors is set hide the clearAuthorship colors button --- static/js/pad2.js | 1 + static/pad.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/pad2.js b/static/js/pad2.js index eb8e3a8c..5d436ddd 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -92,6 +92,7 @@ function getParams() if(IsnoColors == "true") { noColors = true; + $('#clearAuthorship').hide(); } } if(showControls) diff --git a/static/pad.html b/static/pad.html index 851d5761..3b766ae7 100644 --- a/static/pad.html +++ b/static/pad.html @@ -71,7 +71,7 @@
  • -
  • +