##// END OF EJS Templates
Fix slidercolor on widget construction
Jonathan Frederic -
Show More
@@ -34,6 +34,7 define([
34 this.model.on('change:slider_color', function(sender, value) {
34 this.model.on('change:slider_color', function(sender, value) {
35 this.$slider.find('a').css('background', value);
35 this.$slider.find('a').css('background', value);
36 }, this);
36 }, this);
37 this.$slider.find('a').css('background', this.model.get('slider_color'));
37
38
38 // Set defaults.
39 // Set defaults.
39 this.update();
40 this.update();
General Comments 0
You need to be logged in to leave comments. Login now