aboutsummaryrefslogtreecommitdiff
path: root/js/tools/ZoomTool.js
diff options
context:
space:
mode:
authorEric Guzman2012-05-29 15:29:11 -0700
committerEric Guzman2012-05-29 15:29:11 -0700
commit25ac55c285bb4850118c644dc57adaeda5b9a859 (patch)
treeb645941d7916716cbaf4860355df4101fc0f4c3c /js/tools/ZoomTool.js
parent1fda3cea5f8dced1e14533969722e30b8ea1e6fa (diff)
parent58e454c828abf0b64fa62120359bcd78a0d34ac4 (diff)
downloadninja-25ac55c285bb4850118c644dc57adaeda5b9a859.tar.gz
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into CSSPanelUpdates
Diffstat (limited to 'js/tools/ZoomTool.js')
-rwxr-xr-xjs/tools/ZoomTool.js2
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;