Browse Source

Merge pull request #790 from cvergne/fix-touchend-prevent

Only preventing touchend events for modals (Fix #768 / #779)
pull/774/head
XhmikosR 9 years ago
parent
commit
7610ebae83
  1. 2
      js/modals.js

2
js/modals.js

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

Loading…
Cancel
Save