mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-16 06:25:35 +00:00
added touch events globally
This commit is contained in:
@@ -1017,8 +1017,8 @@ nav ul li:hover, nav ul li.active {
|
||||
right: 0;
|
||||
}
|
||||
#controls{
|
||||
opacity: 1;
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
opacity: 1;
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
#bar{
|
||||
|
||||
2
static/dist/frontpage.min.js
vendored
2
static/dist/frontpage.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -199,8 +199,8 @@ $(document).ready(function (){
|
||||
if(pad >= 100)
|
||||
window.location.href = 'https://www.youtube.com/v/0IGsNdVoEh0?autoplay=1&showinfo=0&autohide=1';
|
||||
});
|
||||
|
||||
if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
|
||||
|
||||
/*if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
|
||||
//console.log("android");
|
||||
if(Nochan.getCookie("show_prompt") == ""){
|
||||
var r = confirm("Do you want to download the native app for this webpage?");
|
||||
@@ -214,7 +214,7 @@ $(document).ready(function (){
|
||||
document.cookie = "show_prompt=false;"+expires;
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
git_info = $.ajax({ type: "GET",
|
||||
url: "https://api.github.com/repos/zoff-music/zoff/commits",
|
||||
|
||||
@@ -3,10 +3,7 @@ var Playercontrols = {
|
||||
initYoutubeControls: function(player)
|
||||
{
|
||||
if(window.mobilecheck()){
|
||||
console.log(window.mobilecheck())
|
||||
console.log($("#controls"));
|
||||
$("#controls").appendTo("#playbar");
|
||||
//$("#controls").remove();
|
||||
}
|
||||
setInterval(Playercontrols.durationSetter, 1000);
|
||||
Playercontrols.initControls();
|
||||
|
||||
Reference in New Issue
Block a user