mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Wrong way around
This commit is contained in:
parent
686815f4d9
commit
c3854074a7
|
@ -208,7 +208,7 @@ export default Ember.Component.extend({
|
|||
|
||||
var view = event.data.view;
|
||||
|
||||
if (! view.$().is('.open')) {
|
||||
if (view.$().is('.open')) {
|
||||
view.scrollToIndex(view.get('index'));
|
||||
view.$().removeClass('open');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user