From f958e66f05b1e50973d78ff8ee7f8e7bf9669844 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 23 Apr 2013 23:58:58 -0400 Subject: [PATCH] Fix typo in preserveViewport handling --- src/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer.js b/src/viewer.js index a87c52e9..b6026148 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -1014,7 +1014,7 @@ function openTileSource( viewer, source ) { }); } - if( _this.preserveVewport ){ + if( _this.preserveViewport ){ _this.viewport.resetContentSize( _this.source.dimensions ); }