From 663a92c0d9cce2e59180ecee399c4e11d9bcc2e4 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 28 Aug 2014 23:11:27 -0700 Subject: [PATCH] Adjust play position quicker --- static/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/app.js b/static/js/app.js index fbd3b4d..080dfef 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -157,9 +157,11 @@ var behaviors = { // Add a class to the slider on hover $(this).addClass("dragging") }).on("slideStop", function(){ + + $(this).removeClass("dragging"); + }).on("slide", function(){ newTime = $(".time-holder .player-slider").slider('getValue').val(); $("#player").jPlayer("play", parseInt(newTime)) - $(this).removeClass("dragging"); }); }, play:function() {