Fixing object error...
This commit is contained in:
parent
de6dca8afc
commit
fc553ae85b
1 changed files with 3 additions and 2 deletions
|
|
@ -168,8 +168,9 @@ var franz = {
|
||||||
displayColors: function(order_array) {
|
displayColors: function(order_array) {
|
||||||
var docStr = "";
|
var docStr = "";
|
||||||
|
|
||||||
for(var i = 0; i < franz.alpha.length; i++) {
|
for(var i = 0; i < franz.rgb.alpha.length; i++) {
|
||||||
docStr += '<div class="color_box" style="background-color: rgb(' + franz.red[order_array[i]] + ', ' + franz.green[order_array[i]] + ',' + franz.blue[order_array[i]] + ');"></div>';
|
docStr += '<div class="color_box" style="background-color: rgb(' + franz.rgb.red[order_array[i]] + ', ' + franz.rgb.green[order_array[i]] + ',' + franz.rgb.blue[order_array[i]] + ');"></div>';
|
||||||
|
}
|
||||||
|
|
||||||
document.getElementById("log_colors").innerHTML = docStr;
|
document.getElementById("log_colors").innerHTML = docStr;
|
||||||
if(typeof jQuery != "undefined") $("#container_bottom").fadeIn("slow");
|
if(typeof jQuery != "undefined") $("#container_bottom").fadeIn("slow");
|
||||||
|
|
|
||||||
Reference in a new issue