]> _ Git - fluidbook-html5.git/commitdiff
wip #1371 @0:20
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 26 Apr 2017 14:31:11 +0000 (16:31 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 26 Apr 2017 14:31:11 +0000 (16:31 +0200)
js/libs/fluidbook/fluidbook.nav.js

index 80adbb7a66dd67d8a2d134f3c6964336031a5306..673c3707eb57ac0873472d1dfa15aa36e76e1d5b 100644 (file)
@@ -251,7 +251,7 @@ FluidbookNav.prototype = {
         var res = this.getLink('interface-previous', '#', 'previous', '', '', false);
         res += this.getLink('interface-next', '#', 'next', '', '', false);
         $('#interface').append(res);
-        $(document).on('click', '#next', goNextPage);
-        $(document).on('click', '#previous', goPreviousPage);
+        $(document).on('click touchend', '#next', goNextPage);
+        $(document).on('click touchend', '#previous', goPreviousPage);
     }
 };
\ No newline at end of file