Skip to content

Commit

Permalink
Fixes cassidoo#6
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Mauricio Mueller Nicastro authored Sep 7, 2018
1 parent c8a240f commit baf16c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/contents.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function expandGroups(event) {
var els = document.getElementsByClassName('title');
if (event === 'touchend') {
event.preventDefault();
return;
}
Array.prototype.forEach.call(els, function(el) {
el.addEventListener(event, function () {
Expand Down Expand Up @@ -85,4 +85,4 @@ function press(articles) {
expandGroups('click');
expandGroups('touchend');
}, false);
})();
})();

0 comments on commit baf16c8

Please sign in to comment.