|
|
@ -29,7 +29,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
window.addEventListener('touchend', function (event) { |
|
|
|
window.addEventListener('touchend', function (event) { |
|
|
|
var modal = getModal(event); |
|
|
|
var modal = getModal(event); |
|
|
|
if (modal) modal.classList.toggle('active'); |
|
|
|
if (modal) { |
|
|
|
|
|
|
|
modal.classList.toggle('active'); |
|
|
|
|
|
|
|
event.preventDefault(); // prevents rewriting url (apps can still use hash values in url)
|
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}(); |
|
|
|
}(); |
|
|
|
/* ---------------------------------- |
|
|
|
/* ---------------------------------- |
|
|
@ -770,4 +773,4 @@ |
|
|
|
toggle = false; |
|
|
|
toggle = false; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}(); |
|
|
|
}(); |
|
|
|