mirror of
https://github.com/flarum/core.git
synced 2025-07-26 11:10:41 +02:00
Fix post scrubber closing on mobile
This commit is contained in:
@@ -211,7 +211,7 @@ export default class PostScrubber extends Component {
|
|||||||
// When any part of the whole scrollbar is clicked, we want to jump to
|
// When any part of the whole scrollbar is clicked, we want to jump to
|
||||||
// that position.
|
// that position.
|
||||||
this.$('.scrubber-scrollbar')
|
this.$('.scrubber-scrollbar')
|
||||||
.bind('click touchstart', this.onclick.bind(this))
|
.bind('click', this.onclick.bind(this))
|
||||||
|
|
||||||
// Now we want to make the scrollbar handle draggable. Let's start by
|
// Now we want to make the scrollbar handle draggable. Let's start by
|
||||||
// preventing default browser events from messing things up.
|
// preventing default browser events from messing things up.
|
||||||
|
Reference in New Issue
Block a user