summaryrefslogtreecommitdiff
path: root/www/external/angular-carousel.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-02 16:09:20 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-02 16:09:20 -0500
commitb8b470c3bfc948aa6dfb19241033a95723778635 (patch)
tree20efa43ba58ead0ebf598d4f9a5b7fe90ce1e824 /www/external/angular-carousel.js
parentf31966d959a32cb203c155fa34b60ac6cfc7df0e (diff)
displaying event id in full screen, fixed rn-platform bug
Diffstat (limited to 'www/external/angular-carousel.js')
-rw-r--r--www/external/angular-carousel.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/external/angular-carousel.js b/www/external/angular-carousel.js
index dc387cf5..04b91455 100644
--- a/www/external/angular-carousel.js
+++ b/www/external/angular-carousel.js
@@ -69,6 +69,7 @@ angular.module('angular-carousel')
// PP - added touchend to make it react to touch devices
if (attrs.hasOwnProperty('rnPlatform') && attrs.rnPlatform == 'unknown')
{
+ console.log ("ranPlatform is " + attrs.rnPlatform);
console.log ("Desktop, de-registering any old click");
element.off('click', toggleAutoPlay); // PP - remove mouse click for desktop
element.on('click', toggleAutoPlay); // PP for desktop
@@ -76,6 +77,7 @@ angular.module('angular-carousel')
}
else
{
+ console.log ("ranPlatform is " + attrs.rnPlatform);
console.log ("Device, de-registering any old touch");
element.off('touchend', toggleAutoPlay); // PP - remove touchend too
element.on('touchend', toggleAutoPlay);