Merge branch 'dev' of github.com:nixolas1/Zoff into dev

This commit is contained in:
Nicolas A. Tonne
2015-04-30 22:14:52 +02:00
3 changed files with 7 additions and 8 deletions

View File

@@ -132,7 +132,6 @@ function remove_bar()
function shuffle() function shuffle()
{ {
console.log(adminpass);
socket.emit('shuffle', adminpass); socket.emit('shuffle', adminpass);
} }

View File

@@ -29,7 +29,7 @@ socket.on("skipping", function(obj)
function populate_list(msg, conf_only) function populate_list(msg, conf_only)
{ {
//console.log(msg); //console.log(msg);
console.log(conf_only); //console.log(conf_only);
if(!conf_only) if(!conf_only)
$("#wrapper").empty(); $("#wrapper").empty();

View File

@@ -41,7 +41,7 @@ function populate_channels(lists)
$("#channels").append(card.html()); $("#channels").append(card.html());
//$("#channels").append(card); //$("#channels").append(card);
console.log(chan); //console.log(chan);
output+="<option value='"+chan+"'> "; output+="<option value='"+chan+"'> ";
num++; num++;
@@ -93,7 +93,7 @@ $(document).ready(function (){
window.location.href = 'https://www.youtube.com/v/mK2fNG26xFg?autoplay=1&showinfo=0&autohide=1'; window.location.href = 'https://www.youtube.com/v/mK2fNG26xFg?autoplay=1&showinfo=0&autohide=1';
}); });
if(navigator.userAgent.toLowerCase().indexOf("android") > -1){ if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
console.log("android"); //console.log("android");
var ca = document.cookie.split(';'); var ca = document.cookie.split(';');
if(getCookie("show_prompt") == ""){ if(getCookie("show_prompt") == ""){
var r = confirm("Do you want to download the native app for this webpage?"); var r = confirm("Do you want to download the native app for this webpage?");