From 61cd86460899836a7ee7bdb68825c4d90db0ff5f Mon Sep 17 00:00:00 2001 From: Grant Benvenuti Date: Wed, 3 Sep 2014 17:21:28 +1000 Subject: [PATCH] iOS JS: removed additional variable --- www/screenorientation.ios.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/screenorientation.ios.js b/www/screenorientation.ios.js index 22ed12d..9cb878b 100644 --- a/www/screenorientation.ios.js +++ b/www/screenorientation.ios.js @@ -31,7 +31,6 @@ module.exports = screenOrientation; // ios orientation callback/hook window.shouldRotateToOrientation = function(orientation) { - var currOrientation = iosOrientation, - map = orientationMap[currOrientation] || orientationMap['default']; + var map = orientationMap[iosOrientation] || orientationMap['default']; return map.indexOf(orientation) >= 0; };