fixing broken event delegation when clicking on body - issue #113
diff --git a/js/impress.js b/js/impress.js
index d9bbec2..0d8ba7d 100644
--- a/js/impress.js
+++ b/js/impress.js
@@ -371,7 +371,7 @@
         // check if event target (or any of its parents is a link)
         var target = event.target;
         while ( (target.tagName != "A") &&
-                (target != document.body) ) {
+                (target != document.documentElement) ) {
             target = target.parentNode;
         }
         
@@ -395,7 +395,7 @@
         var target = event.target;
         // find closest step element
         while ( !target.classList.contains("step") &&
-                (target != document.body) ) {
+                (target != document.documentElement) ) {
             target = target.parentNode;
         }