diff --git a/index.html b/index.html index 7479d1a..0969628 100644 --- a/index.html +++ b/index.html @@ -363,9 +363,13 @@ var track = ''; /* Load settings */ - if (localStorage.getItem ('volume') !== null) + if (localStorage.getItem ('volume') !== null) { $('audio').get (0).volume = localStorage.getItem('volume'); - + $('#volume-slider').slider({ + value: $('audio').get (0).volume * 100 + }); + } + if (localStorage.getItem ('playlist') !== null) { if (localStorage.getItem ('playlist') in PLAYLISTS) playlist = localStorage.getItem ('playlist');