Permalink
Browse files

update

  • Loading branch information...
1 parent 4eaf8f8 commit 41d33333161f71ee43e743f35b8e04120293e6ab @cgack committed Jan 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.html
View
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
@@ -49,7 +49,7 @@
};
if (window.DeviceOrientationEvent) {
window.addEventListener("deviceorientation", function (e) {
- rotate(e.alpha);
+ rotate(360 - e.alpha);
}, false);
}

0 comments on commit 41d3333

Please sign in to comment.