diff options
author | Eric Guzman | 2012-03-16 15:08:29 -0700 |
---|---|---|
committer | Eric Guzman | 2012-03-16 15:08:29 -0700 |
commit | 4afb01e3b8261ab5e9492bfc63ad17e44dfcb934 (patch) | |
tree | e34d41690924d9d35abdf1ffb56aedbf85f993dc /js/panels/collapse-composer.js | |
parent | 5247614b90c5cb104166b22ae92b8f29bd1e306f (diff) | |
download | ninja-4afb01e3b8261ab5e9492bfc63ad17e44dfcb934.tar.gz |
CSS Panel Updates - CSS tweaks and cleanup
Diffstat (limited to 'js/panels/collapse-composer.js')
-rw-r--r-- | js/panels/collapse-composer.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/js/panels/collapse-composer.js b/js/panels/collapse-composer.js index d2f477ad..0bd916c8 100644 --- a/js/panels/collapse-composer.js +++ b/js/panels/collapse-composer.js | |||
@@ -87,17 +87,14 @@ exports.CollapseComposer = Montage.create(Composer, { | |||
87 | value: function() { | 87 | value: function() { |
88 | if(this._doCollapse) { | 88 | if(this._doCollapse) { |
89 | if (this._step === 0) { | 89 | if (this._step === 0) { |
90 | console.log("step 0"); | ||
91 | this.component.element.style.height = this._expandedHeight; | 90 | this.component.element.style.height = this._expandedHeight; |
92 | this._step = 1; | 91 | this._step = 1; |
93 | this.needsFrame = true; | 92 | this.needsFrame = true; |
94 | } else if (this._step === 1) { | 93 | } else if (this._step === 1) { |
95 | console.log("step 1"); | ||
96 | this.component.element.style.webkitTransition = 'height 0.14s cubic-bezier(.44,.19,0,.99)'; | 94 | this.component.element.style.webkitTransition = 'height 0.14s cubic-bezier(.44,.19,0,.99)'; |
97 | this._step = 2; | 95 | this._step = 2; |
98 | this.needsFrame = true; | 96 | this.needsFrame = true; |
99 | } else { | 97 | } else { |
100 | console.log("step 2"); | ||
101 | this.component.element.style.height = '0px'; | 98 | this.component.element.style.height = '0px'; |
102 | this.collapsed = true; | 99 | this.collapsed = true; |
103 | this._doCollapse = false; | 100 | this._doCollapse = false; |