Skip to content

Commit

Permalink
[v1.6 alpha] there is always a hotfix when test broken..
Browse files Browse the repository at this point in the history
  • Loading branch information
Huxpro committed Jan 17, 2016
1 parent e231283 commit b464bf8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@
e.stopPropagation();
})

$collapse.addEventListener('touchstart', function(e){
// stop propagating event to document.
e.stopPropagation();
})

document.addEventListener('touchstart', function(e){
__HuxNav__.close();
})
Expand Down

0 comments on commit b464bf8

Please sign in to comment.