Fix slidercolor on widget construction

This commit is contained in:
Jonathan Frederic 2014-09-23 16:15:13 -07:00
parent d4d554052e
commit 9f3dfbc56c

View File

@ -34,6 +34,7 @@ define([
this.model.on('change:slider_color', function(sender, value) {
this.$slider.find('a').css('background', value);
}, this);
this.$slider.find('a').css('background', this.model.get('slider_color'));
// Set defaults.
this.update();