From: Christian Krafft Date: Mon, 30 Jun 2014 19:25:26 +0000 (+0200) Subject: save some characters X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=379a5ffce3e4f58b7ac0087668e4dde14db08cfd;p=ympd.git save some characters --- 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){