From cf6e5aa3ca202c8e0f0f7e14c2b7fc4b551bbe7f Mon Sep 17 00:00:00 2001 From: Stefan Date: Sat, 9 Aug 2014 18:56:18 +0200 Subject: [PATCH] Fix click on timeslider loads two different revisions --- src/static/js/broadcast_slider.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/static/js/broadcast_slider.js b/src/static/js/broadcast_slider.js index 8179b7b5f..0b0147dd6 100644 --- a/src/static/js/broadcast_slider.js +++ b/src/static/js/broadcast_slider.js @@ -334,7 +334,6 @@ function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded) $("#ui-slider-bar").mousedown(function(evt) { - setSliderPosition(Math.floor((evt.clientX - $("#ui-slider-bar").offset().left) * sliderLength / 742)); $("#ui-slider-handle").css('left', (evt.clientX - $("#ui-slider-bar").offset().left)); $("#ui-slider-handle").trigger(evt); });