diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 3f0ed5fd..e9784772 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -236,22 +236,12 @@ function OUTER(gscope) { bgcolor = fadeColor(bgcolor, info.fade); } - - // Background + dynamicCSS.selectorStyle(getAuthorColorClassSelector( getAuthorClassName(author))).backgroundColor = bgcolor; dynamicCSSTop.selectorStyle(getAuthorColorClassSelector( getAuthorClassName(author))).backgroundColor = bgcolor; - - // Text color - var txtcolor = (colorutils.luminosity(bgcolor) < 0.45) ? 'ffffff' : '000000'; - - dynamicCSS.selectorStyle(getAuthorColorClassSelector( - getAuthorClassName(author))).color = txtcolor; - - dynamicCSSTop.selectorStyle(getAuthorColorClassSelector( - getAuthorClassName(author))).color = txtcolor; } } }