Fix post scrubber closing on mobile

This commit is contained in:
Toby Zerner 2015-05-31 11:17:41 +09:30
parent 4a3f8d2aa8
commit 6e1bf0d3de

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.