From 1930eddafdf2237305e4c3dceba0ee555b0c990f Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 28 Aug 2014 23:09:41 -0700 Subject: [PATCH] Ensure time is int --- static/js/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index e322dec..fbd3b4d 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -158,8 +158,7 @@ var behaviors = { $(this).addClass("dragging") }).on("slideStop", function(){ newTime = $(".time-holder .player-slider").slider('getValue').val(); - console.log(newTime) - $("#player").jPlayer("play", newTime) + $("#player").jPlayer("play", parseInt(newTime)) $(this).removeClass("dragging"); }); },