mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-18 14:10:26 +08:00
Fix slidercolor on widget construction
This commit is contained in:
parent
d4d554052e
commit
9f3dfbc56c
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user