Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tabindex for transcript lines #1

Merged
merged 1 commit into from
Feb 1, 2017
Merged

Conversation

dorosh
Copy link

@dorosh dorosh commented Jan 31, 2017

Add into options 'tabindex' for manage tabindex transcript lines

@@ -371,6 +371,7 @@ var widget = function (plugin) {
var timestamp = utils.createEl('span', '-timestamp');
var text = utils.createEl('span', '-text');
line.setAttribute('data-begin', cue.startTime);
line.setAttribute('tabindex', my._options.tabindex || 0);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and below my._options.tabIndex. To be camelCase.

@dorosh dorosh force-pushed the tabindex-for-transcript-lines branch from 953b07a to 72c9f2b Compare January 31, 2017 19:18
Add into options 'tabindex' for manage tabindex transcript lines
@dorosh dorosh force-pushed the tabindex-for-transcript-lines branch from 72c9f2b to 4d7b072 Compare January 31, 2017 19:20
@dorosh dorosh merged commit a383c47 into master Feb 1, 2017
dorosh pushed a commit that referenced this pull request Mar 21, 2017
* Feature/scroll to center (#1)

* Auto scroll to the center of transcripts block.

* Fix bower.json syntax.
z4y4ts pushed a commit that referenced this pull request Apr 21, 2017
* Auto scroll to the center of transcripts block.
z4y4ts pushed a commit that referenced this pull request Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants