cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ton...@apache.org
Subject [25/50] cordova-plugin-screen-orientation git commit: correct orientation naming
Date Mon, 23 May 2016 13:42:23 GMT
correct orientation naming


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/commit/dda55807
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/tree/dda55807
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/diff/dda55807

Branch: refs/heads/master
Commit: dda55807c74649ee13d94bb5221967f9764f7245
Parents: 4f36055
Author: Johan Eliasson <johan.eliasson@allbinary.se>
Authored: Mon Jul 20 14:37:52 2015 +0200
Committer: Johan Eliasson <johan.eliasson@allbinary.se>
Committed: Mon Jul 20 14:37:52 2015 +0200

----------------------------------------------------------------------
 www/screenorientation.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-screen-orientation/blob/dda55807/www/screenorientation.js
----------------------------------------------------------------------
diff --git a/www/screenorientation.js b/www/screenorientation.js
index eb5df68..7c74439 100644
--- a/www/screenorientation.js
+++ b/www/screenorientation.js
@@ -76,13 +76,13 @@ function orientationChange() {
              orientation = 'portrait-primary';
              break;
         case 90:
-            orientation = 'landscape-secondary';
+            orientation = 'landscape-primary';
             break;
         case 180:
             orientation = 'portrait-secondary';
             break;
         case -90:
-            orientation = 'landscape-primary';
+            orientation = 'landscape-secondary';
             break;
         default:
             orientation = 'unknown';


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message