From 109cb38d75914f882fa9e12ce67c8ce96c1c64e4 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 9 Jan 2008 22:23:11 +0000 Subject: [PATCH] Regular ANSI is more usable than failsafe even when colour is not supported. --- exec/load/lightbar.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/exec/load/lightbar.js b/exec/load/lightbar.js index 5b07a73516..e7194fd061 100644 --- a/exec/load/lightbar.js +++ b/exec/load/lightbar.js @@ -152,9 +152,6 @@ function Lightbar_getval(current) if(!(user.settings & USER_ANSI)) { return(this.failsafe_getval()); } - if(!(user.settings & USER_COLOR)) { - return(this.failsafe_getval()); - } if(this.direction < 0 || this.direction > 1) { alert("Unknown lightbar direction!"); @@ -472,9 +469,6 @@ function Lightbar_draw(current) if(!(user.settings & USER_ANSI)) { return; } - if(!(user.settings & USER_COLOR)) { - return; - } if(this.direction < 0 || this.direction > 1) { alert("Unknown lightbar direction!"); -- GitLab