diff --git a/js/ext/angular/test/slideBox.html b/js/ext/angular/test/slideBox.html
index 6dbbc56fd5..6e3cb69ed6 100644
--- a/js/ext/angular/test/slideBox.html
+++ b/js/ext/angular/test/slideBox.html
@@ -46,7 +46,7 @@
-
+
Thank you for choosing the Awesome App!
@@ -61,6 +61,9 @@
+
+
+
Using Awesome
@@ -100,6 +103,13 @@
$scope.$broadcast('slideBox.nextSlide');
};
+ var clickCount = 0;
+
+ $scope.clickTest = function() {
+ clickCount++;
+ console.log('click', clickCount);
+ };
+
var rightButtons = [
{
content: 'Next',
diff --git a/js/utils/tap.js b/js/utils/tap.js
index 795dae8920..8c2c0d2d2c 100644
--- a/js/utils/tap.js
+++ b/js/utils/tap.js
@@ -165,7 +165,7 @@
gesture.originalEvent.changedTouches[0]) ||
touches[0].originalEvent || touches[0];
- if(e) return { x: e.clientX, y: e.clientY };
+ if(e) return { x: e.clientX || e.pageX, y: e.clientY || e.pageY };
}
return { x:0, y:0 };
}