Skip to content

Commit

Permalink
deploy - Mon Jan 4 17:55:35 EST 2016
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanstephens committed Jan 4, 2016
1 parent c950a86 commit 17240e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Expand Up @@ -19,7 +19,9 @@ <h1 class="mark">mono</h1>
<script>
// disable scrolling
window.addEventListener("touchmove", function(event) { event.preventDefault(); }, false);
window.addEventListener("touchstart", function(event) { event.preventDefault(); }, false);
window.addEventListener("touchstart", function(event) {
if (event.target.tagName !== "A") { event.preventDefault(); }
}, false);
</script>
</body>
</html>

0 comments on commit 17240e0

Please sign in to comment.