1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00

Fix regression with scrubber mouse release

This commit is contained in:
Toby Zerner
2015-03-04 09:59:14 +10:30
parent b369366ea3
commit 27b5e453da

View File

@@ -208,8 +208,10 @@ export default Ember.Component.extend({
var view = event.data.view; var view = event.data.view;
if (! view.$().is('.open')) {
view.scrollToIndex(view.get('index')); view.scrollToIndex(view.get('index'));
view.$().removeClass('open'); view.$().removeClass('open');
}
// If the index we've landed on is in a gap, then tell the stream- // If the index we've landed on is in a gap, then tell the stream-
// content that we want to load those posts. // content that we want to load those posts.