mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 05:59:30 +00:00
Fix ios safari
This commit is contained in:
@@ -45,11 +45,13 @@
|
||||
</section>
|
||||
|
||||
<script>
|
||||
document.querySelector('.editButton').addEventListener('click', (e) => {
|
||||
document.querySelector('.editButton').addEventListener(touchEvent, (e) => {
|
||||
e.preventDefault();
|
||||
|
||||
const form = document.querySelector('.editForm');
|
||||
const link = e.path[0];
|
||||
|
||||
const path = e.path || (e.composedPath && e.composedPath());
|
||||
const link = path[0];
|
||||
|
||||
link.innerText =
|
||||
(form.style.display === 'none')
|
||||
|
||||
Reference in New Issue
Block a user