diff -r 7e18d953a1f8 -r 392ddcd212d7 src/widgets/Slice.js --- a/src/widgets/Slice.js Mon Sep 30 14:39:34 2013 +0200 +++ b/src/widgets/Slice.js Tue Oct 01 15:41:46 2013 +0200 @@ -15,7 +15,7 @@ IriSP.Widgets.Slice.prototype.template = '
' - + '{{#show_arrow}}
{{/show_arrow}}' + + '{{#show_arrow}}
{{/show_arrow}}'; IriSP.Widgets.Slice.prototype.draw = function() { @@ -40,7 +40,7 @@ max: this.max, change: function(event, ui) { if (_this.arrow) { - _this.arrow.moveToTime((ui.values[0]+ui.values[1])/2) + _this.arrow.moveToTime((ui.values[0]+ui.values[1])/2); } if (_this.onBoundsChanged) { _this.onBoundsChanged(ui.values[0],ui.values[1]); @@ -74,8 +74,8 @@ IriSP.Widgets.Slice.prototype.show = function() { this.$slider.show(); -} +}; IriSP.Widgets.Slice.prototype.hide = function() { this.$slider.hide(); -} +};