Commit f17a84c9 by Valera Rozuvan

Minor tweak.

parent 3b7cc6a4
...@@ -158,8 +158,8 @@ function () { ...@@ -158,8 +158,8 @@ function () {
keydown, this.videoCaption.autoShowCaptions keydown, this.videoCaption.autoShowCaptions
}); });
// Moving slider on subtitles is not a mouse move, // Moving slider on subtitles is not a mouse move, but captions and
// but captions and controls should be shown. // controls should be shown.
this.videoCaption.subtitlesEl this.videoCaption.subtitlesEl
.on( .on(
'scroll', this.videoCaption.autoShowCaptions 'scroll', this.videoCaption.autoShowCaptions
...@@ -171,8 +171,8 @@ function () { ...@@ -171,8 +171,8 @@ function () {
this.videoCaption.subtitlesEl.on({ this.videoCaption.subtitlesEl.on({
keydown: this.videoCaption.autoShowCaptions, keydown: this.videoCaption.autoShowCaptions,
// Moving slider on subtitles is not a mouse move, // Moving slider on subtitles is not a mouse move, but captions
// but captions should not be auto-hidden. // should not be auto-hidden.
scroll: this.videoCaption.autoShowCaptions scroll: this.videoCaption.autoShowCaptions
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment