mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Fixed code style issue.
This commit is contained in:
parent
2fd1a849d1
commit
576df57cdc
@ -2152,7 +2152,7 @@ function onFullScreen() {
|
|||||||
function onRotateLeft() {
|
function onRotateLeft() {
|
||||||
if ( this.viewport ) {
|
if ( this.viewport ) {
|
||||||
var currRotation = this.viewport.getRotation();
|
var currRotation = this.viewport.getRotation();
|
||||||
if (currRotation == 0) {
|
if (currRotation === 0) {
|
||||||
currRotation = 270;
|
currRotation = 270;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -2168,7 +2168,7 @@ function onRotateLeft() {
|
|||||||
function onRotateRight() {
|
function onRotateRight() {
|
||||||
if ( this.viewport ) {
|
if ( this.viewport ) {
|
||||||
var currRotation = this.viewport.getRotation();
|
var currRotation = this.viewport.getRotation();
|
||||||
if (currRotation == 270) {
|
if (currRotation === 270) {
|
||||||
currRotation = 0;
|
currRotation = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user