From b8b470c3bfc948aa6dfb19241033a95723778635 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Mon, 2 Nov 2015 16:09:20 -0500 Subject: displaying event id in full screen, fixed rn-platform bug --- www/external/angular-carousel.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'www/external/angular-carousel.js') 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); -- cgit v1.2.3