aboutsummaryrefslogtreecommitdiff
path: root/js/stage/stage-deps.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-14 17:17:17 -0700
committerNivesh Rajbhandari2012-05-14 17:17:17 -0700
commit7ad96123fcc61f613c199faa3b98bff5d352ceee (patch)
tree69f3a10454aa72318d6843f7d448f58da1cc19f4 /js/stage/stage-deps.js
parenta0cca95a60e71b4c35c097e0be4be9cf0814e987 (diff)
downloadninja-7ad96123fcc61f613c199faa3b98bff5d352ceee.tar.gz
userContentLeft and userContentTop need to set scroll offsets for 0 also.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/stage/stage-deps.js')
-rwxr-xr-xjs/stage/stage-deps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/stage/stage-deps.js b/js/stage/stage-deps.js
index a71b77be..33ba2359 100755
--- a/js/stage/stage-deps.js
+++ b/js/stage/stage-deps.js
@@ -52,7 +52,7 @@ exports.StageDeps = Montage.create(Component, {
52 userContentLeft: { 52 userContentLeft: {
53 get: function() { return this._userContentLeft; }, 53 get: function() { return this._userContentLeft; },
54 set: function(value) { 54 set: function(value) {
55 if(value) { 55 if(value != null) {
56 viewUtils.setUserContentLeft(value); 56 viewUtils.setUserContentLeft(value);
57 } 57 }
58 } 58 }
@@ -65,7 +65,7 @@ exports.StageDeps = Montage.create(Component, {
65 userContentTop: { 65 userContentTop: {
66 get: function() { return this._userContentTop; }, 66 get: function() { return this._userContentTop; },
67 set: function(value) { 67 set: function(value) {
68 if(value) { 68 if(value != null) {
69 viewUtils.setUserContentTop(value); 69 viewUtils.setUserContentTop(value);
70 } 70 }
71 } 71 }