|
|
@ -314,6 +314,20 @@ var flag = true; |
|
|
|
$("#intro").css("display","none"); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
if (window.matchMedia("(max-width: 767px)").matches) |
|
|
|
{ |
|
|
|
|
|
|
|
// The viewport is less than 768 pixels wide |
|
|
|
console.log("This is a mobile device."); |
|
|
|
|
|
|
|
$(".file-names").on('click', function(event){ |
|
|
|
$("html, body").animate({ scrollTop: $(document).height() }, 1000); |
|
|
|
//(... rest of your JS code) |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|