diff --git a/server/public/assets/css/mobile.css b/server/public/assets/css/mobile.css index 82ad01a3..502cf64c 100644 --- a/server/public/assets/css/mobile.css +++ b/server/public/assets/css/mobile.css @@ -115,7 +115,7 @@ } .list-title { - width: 66%; + width: 60%; } .hamburger-sidenav { @@ -174,7 +174,9 @@ } .cast-button-header { + width: 50px; height: 56px; + overflow: hidden; } .slider-vol-mobile { diff --git a/server/public/assets/js/functions.js b/server/public/assets/js/functions.js index 6694ef2f..506fabc5 100644 --- a/server/public/assets/js/functions.js +++ b/server/public/assets/js/functions.js @@ -501,7 +501,7 @@ function get_list_ajax() { List.populate_list(response.results); } }, - error: function(response) { + error: function(response, xmlhttp) { //response = JSON.parse(response); if (response.status == 403) { start_auth(); @@ -1453,6 +1453,9 @@ function resizePlaylistPlaying(playing, resizing) { Helper.css(".list-song", "height", List.element_height + "px"); Channel.set_title_width(); var toJumpTo = page / canFit; + if(full_playlist == undefined) { + return; + } if ( toJumpTo > Math.floor(full_playlist.length / List.can_fit) && resizing