diff --git a/exec/dorkit/attribute.js b/exec/dorkit/attribute.js index f43699f08a105cf470f33fe21367cbde1844c4f9..d15f849e54e69da65aa00b2efb9f25f5e7c2e825 100644 --- a/exec/dorkit/attribute.js +++ b/exec/dorkit/attribute.js @@ -88,8 +88,7 @@ Attribute.prototype = { if(curatr === undefined || (!(this.bright) && curatr.bright) || (!(this.blink) && curatr.blink) || this.value === 7) { str += "0;"; - if (curatr === undefined) - curatr = this.curatr; + curatr = this._curatr; curatr.value = 7; } if(this.blink) { /* special attributes */