diff --git a/server/public/assets/js/list.js b/server/public/assets/js/list.js index fa6da2c2..a81b2e8d 100755 --- a/server/public/assets/js/list.js +++ b/server/public/assets/js/list.js @@ -553,7 +553,7 @@ var List = { "client " + client, "socket_connected " + socket_connected ]); - if(client && !socket_connected) { + if((client || Helper.mobilecheck()) && !socket_connected) { if(vote != "del") { vote_ajax(id); } else { diff --git a/server/public/assets/js/search.js b/server/public/assets/js/search.js index 51a56daf..2c357fc0 100755 --- a/server/public/assets/js/search.js +++ b/server/public/assets/js/search.js @@ -463,7 +463,7 @@ var Search = { }, submit: function(id,title,duration, playlist, num, full_num, start, end){ - if(client && !socket_connected) { + if((client || Helper.mobilecheck()) && !socket_connected) { add_ajax(id, title, duration, playlist, num, full_num, start, end); return; }