viewer.js: fix typos in variable declarations

This commit is contained in:
Chris Adams 2013-06-18 17:56:13 -04:00
parent d644acd50b
commit f8c77f65d7

View File

@ -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();