diff --git a/js/app.js b/js/app.js index 29adcca7..65717d8e 100755 --- a/js/app.js +++ b/js/app.js @@ -592,8 +592,8 @@ Audios.prototype.loadIndividualCategory = function (evt, callback) { 'data-mimetype': el.mim, 'mimetype': el.mim, 'data-title': el.cl1, - 'data-album': el.cl2, - 'data-year': el.cl3, + 'data-artist': el.cl2, + 'data-album': el.cl3, 'data-cover': el.cid, 'data-path': el.lin, 'class': 'dragable' @@ -1041,16 +1041,16 @@ Audios.prototype.sort_playlist = function (evt) { Audios.prototype.current_song_ui_change = function (coverUrl, activeLi) { var addCss; var addDescr; - const coverID = activeLi.data('cover'); + var coverID = activeLi.data('cover'); if (coverID === '') { addCss = 'background-color: #D3D3D3;color: #333333;'; addDescr = activeLi.data('title').substring(0, 1); } else { - addCss = `background-image:url(${coverUrl}${coverID});-webkit-background-size:cover;-moz-background-size:cover;background-size:cover;`; + addCss = 'background-image:url(' + coverUrl + coverID + ');-webkit-background-size:cover;-moz-background-size:cover;background-size:cover;'; addDescr = ''; } $('.sm2-playlist-cover').attr({'style': addCss}).text(addDescr); - document.title = `${activeLi.data('title')}—${activeLi.data('album')}`; + document.title = activeLi.data('title') + ' — ' + activeLi.data('album'); }; Audios.prototype.soundmanager_callback = function (SMaction) { diff --git a/js/bar-ui.js b/js/bar-ui.js index c032c939..0cea1544 100755 --- a/js/bar-ui.js +++ b/js/bar-ui.js @@ -794,7 +794,7 @@ } // remove any failed character sequence, also - dom.playlistTarget.innerHTML = '