From 576df57cdc553da027e2aa170dbf929fe94a2580 Mon Sep 17 00:00:00 2001 From: Grant Echols Date: Thu, 20 Feb 2014 14:04:26 -0700 Subject: [PATCH] Fixed code style issue. --- src/viewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 6c3a91fb..ca20ca98 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -2152,7 +2152,7 @@ function onFullScreen() { function onRotateLeft() { if ( this.viewport ) { var currRotation = this.viewport.getRotation(); - if (currRotation == 0) { + if (currRotation === 0) { currRotation = 270; } else { @@ -2168,7 +2168,7 @@ function onRotateLeft() { function onRotateRight() { if ( this.viewport ) { var currRotation = this.viewport.getRotation(); - if (currRotation == 270) { + if (currRotation === 270) { currRotation = 0; } else {