Browse Source

Fix Github Issue #768 : Only preventing touchend events for modals

pull/779/head
qkdreyer 10 years ago
parent
commit
70e70a1025
  1. 2
      js/modals.js

2
js/modals.js

@ -47,6 +47,6 @@
modal.dispatchEvent(eventToDispatch);
modal.classList.toggle('active');
}
event.preventDefault(); // prevents rewriting url (apps can still use hash values in url)
if (modal) event.preventDefault(); // prevents rewriting url (apps can still use hash values in url)
});
}());

Loading…
Cancel
Save