mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:47:08 +08:00
Wrong way around
This commit is contained in:
parent
2326c72e43
commit
7b47067d0f
@ -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…
x
Reference in New Issue
Block a user