1
0
mirror of https://github.com/flarum/core.git synced 2025-08-02 14:37:49 +02:00

Fix post scrubber closing on mobile

This commit is contained in:
Toby Zerner
2015-05-31 11:17:41 +09:30
parent 1603c10ae9
commit 8e7634e36d

View File

@@ -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.