mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-19 13:20:36 +08:00
adressed @jdfrederer's concern!
This commit is contained in:
parent
1eef26754f
commit
539596bcdd
@ -74,10 +74,15 @@ define([
|
||||
else if(value < min){
|
||||
value = min;
|
||||
}
|
||||
this.model.set('value', value, {updated_view: this});
|
||||
this.$slider.slider('option', 'value', value);
|
||||
this.$readout.text(value);
|
||||
this.touch();
|
||||
|
||||
if(this.model.get('value')!=value) {
|
||||
alert(this.model.get('value'));
|
||||
this.model.set('value', value, {updated_view: this});
|
||||
alert("touched");
|
||||
this.touch();
|
||||
}
|
||||
|
||||
// Use the right CSS classes for vertical & horizontal sliders
|
||||
if (orientation=='vertical') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user