projects
/
ratchet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test for truth
[ratchet]
/
lib
/
js
/
modals.js
diff --git
a/lib/js/modals.js
b/lib/js/modals.js
index
6a0e6ef
..
4f1f40d
100644
(file)
--- a/
lib/js/modals.js
+++ b/
lib/js/modals.js
@@
-23,9
+23,7
@@
window.addEventListener('touchend', function (event) {
var modal = getModal(event);
-
- if (!modal) return;
- modal.classList.toggle('active');
+ if (modal) modal.classList.toggle('active');
});
window.addEventListener('click', function (event) {