projects
/
ratchet
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ed7e8
)
Test for truth
author
Ben Schwarz
<ben@germanforblack.com>
Mon, 24 Dec 2012 01:46:43 +0000
(12:46 +1100)
committer
Ben Schwarz
<ben@germanforblack.com>
Mon, 24 Dec 2012 01:46:43 +0000
(12:46 +1100)
lib/js/modals.js
patch
|
blob
|
history
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) {