fix for rssTerminal coloring

pull/1/head
orbiter 12 years ago
parent 308d73f855
commit f8c28efd66

@ -50,13 +50,13 @@ alert(maxlines);
}
function addLine(line) {
if (typeof query.cf!=='undefined') {
//if (typeof query.cf!=='undefined') {
for (var i=0;i<setcolors.length;i++) {
if (line.match(setcolors[i].split(":")[0])) {
fntcolor = setcolors[i].split(":")[1];
}
}
}
//}
while (line.length > maxwidth) {
lines.push("<font style=\"color:#" + fntcolor + ";\">" + line.substring(0, maxwidth) + "</font>");
line = tab + line.substring(maxwidth);

Loading…
Cancel
Save