1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 00:59:29 +00:00

Fix ios safari

This commit is contained in:
2022-04-22 03:07:54 +00:00
parent d5cdf70705
commit 62cfe7b643
9 changed files with 28 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
<script>
const classes = document.querySelectorAll('.classes__class');
classes.forEach(c => {
c.addEventListener('click', () => {
c.addEventListener(touchEvent, () => {
window.location.href = `/admin/class/${c.getAttribute('data-id')}`;
});
});