From dda55807c74649ee13d94bb5221967f9764f7245 Mon Sep 17 00:00:00 2001 From: Johan Eliasson Date: Mon, 20 Jul 2015 14:37:52 +0200 Subject: [PATCH] correct orientation naming --- www/screenorientation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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';