mirror of
https://github.com/flarum/core.git
synced 2025-07-25 10:41:24 +02:00
Fix regression with scrubber mouse release
This commit is contained in:
@@ -208,8 +208,10 @@ export default Ember.Component.extend({
|
||||
|
||||
var view = event.data.view;
|
||||
|
||||
view.scrollToIndex(view.get('index'));
|
||||
view.$().removeClass('open');
|
||||
if (! view.$().is('.open')) {
|
||||
view.scrollToIndex(view.get('index'));
|
||||
view.$().removeClass('open');
|
||||
}
|
||||
|
||||
// If the index we've landed on is in a gap, then tell the stream-
|
||||
// content that we want to load those posts.
|
||||
|
Reference in New Issue
Block a user