From fd91ba2db26f0f161ffb26b522aadb08d1011070 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 28 Aug 2014 22:21:05 -0700 Subject: [PATCH] Change slider invocation --- jstemplates/downloads.html | 2 +- static/js/app.js | 2 +- static/js/ui.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jstemplates/downloads.html b/jstemplates/downloads.html index 0ccc93b..c8d72e9 100644 --- a/jstemplates/downloads.html +++ b/jstemplates/downloads.html @@ -16,7 +16,7 @@
- +
\ No newline at end of file diff --git a/static/js/app.js b/static/js/app.js index 85b1b5e..6e1217f 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -152,7 +152,7 @@ var behaviors = { loadedmetadata: function() { console.log($("#player").data("jPlayer").status.duration) - $(".player-slider").attr("data-slider-max", parseInt($("#player").data("jPlayer").status.duration+1)).slider() + $(".player-slider").slider({min:0,max:parseInt($("#player").data("jPlayer").status.duration+1)}) } }) diff --git a/static/js/ui.js b/static/js/ui.js index 4ae0bdd..3aa4a4d 100644 --- a/static/js/ui.js +++ b/static/js/ui.js @@ -24,7 +24,7 @@ var ui = { ui.__streamstatus() }, files:function() { - $('.player-slider').slider(); + //$('.player-slider').slider(); }, scheduleList:function() { ui.__streamstatus()