1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

trigger chapter selector function on chapter icon hover

This commit is contained in:
Techywarrior 2013-04-09 08:42:08 -07:00
parent 9620b78e2a
commit 05dfb50e58

View file

@ -386,6 +386,7 @@ _V_.ChapterSelector = _V_.Button.extend({
attrs = _V_.merge({
className: this.buildCSSClass(),
//innerHTML: '<div><span class="vjs-chapter-text">' + this.buttonText + '</span></div>',
innerHTML: '<div onmouseover="$(\'.vjs-chapter-button\').focus();$(\'.vjs-chapter-button\').click();"></div>',
role: "button",
tabIndex: 0
}, attrs);