From 478fa5c256624c270b43c89504d7a8f9d309d9e9 2014-08-24 09:32:03 From: Gordon Ball Date: 2014-08-24 09:32:03 Subject: [PATCH] Remove errant tabs from js --- diff --git a/IPython/html/static/widgets/js/widget_int.js b/IPython/html/static/widgets/js/widget_int.js index a92b1d9..7ddcb8a 100644 --- a/IPython/html/static/widgets/js/widget_int.js +++ b/IPython/html/static/widgets/js/widget_int.js @@ -72,17 +72,17 @@ define([ this.$slider.slider('option', 'orientation', orientation); var value = this.model.get('value'); if (this.model.get('range')) { - // values for the range case are validated python-side in - // _Bounded{Int,Float}RangeWidget._validate + // values for the range case are validated python-side in + // _Bounded{Int,Float}RangeWidget._validate this.$slider.slider('option', 'values', value); this.$readout.text(value.join("-")); } else { - if(value > max) { - value = max; - } - else if(value < min){ - value = min; - } + if(value > max) { + value = max; + } + else if(value < min){ + value = min; + } this.$slider.slider('option', 'value', value); this.$readout.text(value); }