From 8b46104406b680dfd8237217866248d6215bd673 2014-08-14 21:29:28 From: Tarun Gaba Date: 2014-08-14 21:29:28 Subject: [PATCH] added 'var' --- diff --git a/IPython/html/static/widgets/js/widget_int.js b/IPython/html/static/widgets/js/widget_int.js index 3f9f65f..da38931 100644 --- a/IPython/html/static/widgets/js/widget_int.js +++ b/IPython/html/static/widgets/js/widget_int.js @@ -67,7 +67,7 @@ define([ var max = this.model.get('max'); this.$slider.slider('option', 'value', min); this.$slider.slider('option', 'orientation', orientation); - value = this.model.get('value'); + var value = this.model.get('value'); if(value > max) { value = max; }