save some characters
authorChristian Krafft <parabelboi@gmail.com>
Mon, 30 Jun 2014 19:25:26 +0000 (21:25 +0200)
committerChristian Krafft <parabelboi@gmail.com>
Mon, 30 Jun 2014 19:25:26 +0000 (21:25 +0200)
htdocs/js/mpd.js

index 9306ff3..f0b2df1 100644 (file)
@@ -100,7 +100,7 @@ $(document).ready(function(){
     });
     $("#localvolumeslider").slider(0);
     $("#localvolumeslider").on('slider.newValue', function(evt,data){
-        document.getElementById("player").volume=data.val/100;
+        $("#player").volume=data.val/100;
     });
     $('#progressbar').slider(0);
     $("#progressbar").on('slider.newValue', function(evt,data){