commit | 642fbdd6eef0ae0aa730c633c874d73029ee4cb7 | [log] [tgz] |
---|---|---|
author | Bill Thiede <couchmoney@gmail.com> | Mon Jun 24 13:54:17 2013 +1000 |
committer | Andrew Gerrand <adg@golang.org> | Mon Jun 24 13:54:17 2013 +1000 |
tree | c0d72e73416f19851a178e27966b613d341b9384 | |
parent | 88f77352d504d71f79115c415d39f9dd5f77bd21 [diff] |
go.talks/present: Fix swiping on Android so it works past the third slide. Used the suggestion found here: http://stackoverflow.com/a/11613327 Fixes golang/go#5004. R=adg CC=golang-dev https://golang.org/cl/7631043
diff --git a/present/static/slides.js b/present/static/slides.js index 03dd6e7..863e7ac 100644 --- a/present/static/slides.js +++ b/present/static/slides.js
@@ -273,6 +273,7 @@ } else { touchDX = event.touches[0].pageX - touchStartX; touchDY = event.touches[0].pageY - touchStartY; + event.preventDefault(); } };