diff options
author | Valerio Virgillito | 2012-05-14 17:20:45 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-14 17:20:45 -0700 |
commit | 6fe05fc4f518000cf9a7af3c34381af16579a6d6 (patch) | |
tree | 9723b4f338280d9471cac7fbd4f68ccc269e6aa4 | |
parent | aeb15b43b92dc38bb04ef5dac72111383f044ec5 (diff) | |
parent | 7ad96123fcc61f613c199faa3b98bff5d352ceee (diff) | |
download | ninja-6fe05fc4f518000cf9a7af3c34381af16579a6d6.tar.gz |
Merge pull request #229 from mqg734/Dom-Architecture
userContentLeft and userContentTop need to set scroll offsets for 0 also.
-rwxr-xr-x | js/stage/stage-deps.js | 4 |
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 | } |