summaryrefslogtreecommitdiffstats
path: root/demos/declarative/calculator/Core/calculator.js
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/calculator/Core/calculator.js')
-rw-r--r--demos/declarative/calculator/Core/calculator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/calculator/Core/calculator.js b/demos/declarative/calculator/Core/calculator.js
index c80c42f..16cc309 100644
--- a/demos/declarative/calculator/Core/calculator.js
+++ b/demos/declarative/calculator/Core/calculator.js
@@ -83,9 +83,9 @@ function doOperation(op) {
display.text ="0"
}
- if (op == rotateLeft)
- main.state = "orientation " + Orientation.Landscape
if (op == rotateRight)
+ main.state = "orientation " + Orientation.Landscape
+ if (op == rotateLeft)
main.state = ''
}