Wrong way around

This commit is contained in:
Toby Zerner 2015-03-04 10:24:27 +10:30
parent 686815f4d9
commit c3854074a7

View File

@ -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');
}