Ticket #6134: effect_highlight_empty_restorecolor.diff
| File effect_highlight_empty_restorecolor.diff, 0.7 kB (added by jcott33@hotmail.com, 2 years ago) |
|---|
-
effects.js
old new 505 505 this.element.setStyle({backgroundImage: 'none'}); 506 506 if(!this.options.endcolor) 507 507 this.options.endcolor = this.element.getStyle('background-color').parseColor('#ffffff'); 508 if( !this.options.restorecolor)508 if(typeof(this.options.restorecolor) == 'undefined') // allow empty value 509 509 this.options.restorecolor = this.element.getStyle('background-color'); 510 510 // init color calculations 511 511 this._base = $R(0,2).map(function(i){ return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16) }.bind(this));