adde modal back

This commit is contained in:
alicestrt 2021-03-05 17:17:17 +01:00
parent 85dbc1e9ae
commit 8c726a7af7

View File

@ -34,7 +34,20 @@
</span>
</div>
<div id="myModal" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">This website is better viewed on desktop</h5>
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<div class="modal-body">
<p>Sorry for that.</p>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<!-- background audio -->
@ -191,7 +204,7 @@ $(".draggable i.remove-elem").off('click').on("click", function(){
<script>
// function popup_bg(start,end) {
// var myIcon = document.querySelector(".audioBG");
// var box = document.getElementById("audioBG");
// if (box.paused) {
@ -204,7 +217,7 @@ $(".draggable i.remove-elem").off('click').on("click", function(){
// }
// // box.currentTime = start;
// // console.log(start);
// }
@ -353,7 +366,13 @@ $("#about").click(function(){
</script>
<script>
$(document).ready(function(){
if (screen.width < 768) {
$("#myModal").modal('show');
}
});
</script>
</div>