diff --git a/js/simple-slider.js b/js/simple-slider.js index f114f90..de4b7bd 100644 --- a/js/simple-slider.js +++ b/js/simple-slider.js @@ -90,6 +90,13 @@ var __slice = [].slice, if (_this.dragging) { _this.dragging = false; _this.dragger.removeClass("dragging"); + ratio = _this.valueToRatio(_this.value); + _this.input.trigger("slider:release", { + value: _this.value, + ratio: ratio, + position: ratio * _this.slider.outerWidth(), + el: _this.slider + }); return $("body").css({ cursor: "auto" });