mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Fix post scrubber closing on mobile
This commit is contained in:
parent
4a3f8d2aa8
commit
6e1bf0d3de
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user