From 379a5ffce3e4f58b7ac0087668e4dde14db08cfd Mon Sep 17 00:00:00 2001
From: Christian Krafft <parabelboi@gmail.com>
Date: Mon, 30 Jun 2014 21:25:26 +0200
Subject: [PATCH] save some characters

---
 htdocs/js/mpd.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js
index 9306ff3..f0b2df1 100644
--- a/htdocs/js/mpd.js
+++ b/htdocs/js/mpd.js
@@ -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){
-- 
2.20.1