diff options
Diffstat (limited to 'js/tools/ZoomTool.js')
-rwxr-xr-x | js/tools/ZoomTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/ZoomTool.js b/js/tools/ZoomTool.js index 17301262..dc096592 100755 --- a/js/tools/ZoomTool.js +++ b/js/tools/ZoomTool.js | |||
@@ -184,7 +184,7 @@ exports.ZoomTool = Montage.create(DrawingTool, { | |||
184 | _setZoom:{ | 184 | _setZoom:{ |
185 | value:function(mode,zoomFactor) | 185 | value:function(mode,zoomFactor) |
186 | { | 186 | { |
187 | var userContent = this.application.ninja.currentDocument.documentRoot; | 187 | var userContent = this.application.ninja.currentDocument.model.documentRoot; |
188 | this._oldValue = this.application.ninja.documentBar.zoomFactor; | 188 | this._oldValue = this.application.ninja.documentBar.zoomFactor; |
189 | 189 | ||
190 | var globalPt; | 190 | var globalPt; |