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 ) { function onCanvasClick( tracker, position, quick, shift ) {
var zoomPreClick, var zoomPerClick,
factor; factor;
if ( this.viewport && quick ) { // ignore clicks where mouse moved if ( this.viewport && quick ) { // ignore clicks where mouse moved
zoomPerClick = this.zoomPerClick; zoomPerClick = this.zoomPerClick;
@ -1555,7 +1555,7 @@ function scheduleZoom( viewer ) {
function doZoom() { function doZoom() {
var currentTime, var currentTime,
deltaTime, deltaTime,
adjustFactor; adjustedFactor;
if ( THIS[ this.hash ].zooming && this.viewport) { if ( THIS[ this.hash ].zooming && this.viewport) {
currentTime = +new Date(); currentTime = +new Date();