Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Hynds committed Mar 17, 2010
1 parent 64029ec commit 3d43a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery.visualizestack.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ $.fn.visualizeStack = function(options){
// hsl() color.
$element.css(prop, val.replace("%", "hsl("+startHue+",100%,"+color+"%)") );

// if the properties are set, change the text color property
// when the shade becomes too light or dark to read
// change the text color property when the shade becomes
// too light or too dark to read
if(options.lightTextColor.length && lastColor <= 50){
$element.css("color", options.lightTextColor);
} else if(options.darkTextColor.length && lastColor >= 50){
Expand Down

0 comments on commit 3d43a9a

Please sign in to comment.