aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-02 11:08:59 -0700
committerValerio Virgillito2012-05-02 15:07:22 -0700
commit5a74b74e8ec76d60cadf623cabaa0b667f1c4058 (patch)
treebd9153c634027dfcbe5789b7451eb8fc2dc609b9 /js/stage
parente3fa4c7db57b63c5ac604c9420062de5d0fe413a (diff)
downloadninja-5a74b74e8ec76d60cadf623cabaa0b667f1c4058.tar.gz
code cleanup
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage.reel/stage.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index 515165bf..a7c22a7f 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -958,8 +958,9 @@ exports.Stage = Montage.create(Component, {
958 this.application.ninja.documentController.activeDocument.savedLeftScroll = this._iframeContainer.scrollLeft; 958 this.application.ninja.documentController.activeDocument.savedLeftScroll = this._iframeContainer.scrollLeft;
959 this.application.ninja.documentController.activeDocument.savedTopScroll = this._iframeContainer.scrollTop; 959 this.application.ninja.documentController.activeDocument.savedTopScroll = this._iframeContainer.scrollTop;
960 } 960 }
961 }, 961 },
962 restoreScroll:{ 962
963 restoreScroll:{
963 value: function(){ 964 value: function(){
964 this._iframeContainer.scrollLeft = this.application.ninja.documentController.activeDocument.savedLeftScroll; 965 this._iframeContainer.scrollLeft = this.application.ninja.documentController.activeDocument.savedLeftScroll;
965 this._scrollLeft = this.application.ninja.documentController.activeDocument.savedLeftScroll; 966 this._scrollLeft = this.application.ninja.documentController.activeDocument.savedLeftScroll;