aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Szopka <bartek.szopka+github@gmail.com>2012-02-16 13:33:06 +0100
committerBartek Szopka <bartek.szopka+github@gmail.com>2012-02-16 13:33:06 +0100
commit2324484152227791a12da562cd05014febd05c8e (patch)
treefcc03d7eb60ee5f1e9ad13bd6768d4099ac514ad
parentc7ce6af1c811d92aa4bbc5958cf6877d7d2f7fa4 (diff)
downloadimpress.js-2324484152227791a12da562cd05014febd05c8e.tar.gz
more helpful hint for touch devices
-rw-r--r--index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.html b/index.html
index 3fc937f..53bd569 100644
--- a/index.html
+++ b/index.html
@@ -277,7 +277,11 @@
<div class="hint">
<p>Use a spacebar or arrow keys to navigate</p>
</div>
-
+<script>
+if ("ontouchstart" in document.documentElement) {
+ document.querySelector(".hint").innerHTML = "<p>Tap on the left or right to navigate</p>";
+}
+</script>
<!--