mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
added touch events globally
This commit is contained in:
@@ -100,7 +100,6 @@
|
||||
|
||||
<?php include("footer.php"); ?>
|
||||
|
||||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>
|
||||
<script type="text/javascript" src="/static/dist/remote.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -58,7 +58,9 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>
|
||||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
|
||||
<script type="text/javascript" src="/static/dist/lib/materialize.min.js"></script>
|
||||
<script type="text/javascript" src="//cdn.socket.io/socket.io-1.3.5.js"></script>
|
||||
|
||||
@@ -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
@@ -200,7 +200,7 @@ $(document).ready(function (){
|
||||
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