From f8c77f65d788f6828364cd8879de708a93a00518 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Tue, 18 Jun 2013 17:56:13 -0400 Subject: [PATCH] viewer.js: fix typos in variable declarations --- src/viewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 8b16b9dc..7c0183f2 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -1323,7 +1323,7 @@ function onBlur(){ } function onCanvasClick( tracker, position, quick, shift ) { - var zoomPreClick, + var zoomPerClick, factor; if ( this.viewport && quick ) { // ignore clicks where mouse moved zoomPerClick = this.zoomPerClick; @@ -1555,7 +1555,7 @@ function scheduleZoom( viewer ) { function doZoom() { var currentTime, deltaTime, - adjustFactor; + adjustedFactor; if ( THIS[ this.hash ].zooming && this.viewport) { currentTime = +new Date();