diff options
author | Avi Dessauer <avi.the.coder@gmail.com> | 2019-08-21 06:03:31 -0400 |
---|---|---|
committer | Alexey Kiryushin <alexey.a.kiryushin@gmail.com> | 2019-08-21 13:03:31 +0300 |
commit | af41ab40e1fc4888d1873a9ffe681ddafdfb4ee0 (patch) | |
tree | 219315a1ef02ae0d0f21889e7b88e08318b308a2 /javascript/app/components/bottom-panel.js | |
parent | 5295ac7f7f26c3a43f0fe9b9c826e876b29cf666 (diff) |
Delete trailing whitespace (#42)
Diffstat (limited to 'javascript/app/components/bottom-panel.js')
-rw-r--r-- | javascript/app/components/bottom-panel.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javascript/app/components/bottom-panel.js b/javascript/app/components/bottom-panel.js index 5d8b5bc..6415d0e 100644 --- a/javascript/app/components/bottom-panel.js +++ b/javascript/app/components/bottom-panel.js @@ -1,6 +1,6 @@ import Ember from 'ember'; -function show(component) { +function show(component) { const height = Math.floor(component.$containerElement.height() /2); component.$().css({ "display":"block", @@ -40,13 +40,13 @@ export default Ember.Component.extend({ } }); }); - }, + }, visibilityObserver : Ember.observer('visible',function () { this.get('visible') ? show(this) : hide(this); }), actions : { close () { - this.set('visible',false); + this.set('visible',false); } } }); |