diff --git a/js&css/web-accessible/www.youtube.com/appearance.js b/js&css/web-accessible/www.youtube.com/appearance.js index 222eb871c..04472e109 100644 --- a/js&css/web-accessible/www.youtube.com/appearance.js +++ b/js&css/web-accessible/www.youtube.com/appearance.js @@ -349,13 +349,14 @@ ImprovedTube.transcript = function (el) { if (ImprovedTube.storage.transcript == CHAPTERS --------------------------------------------------------------*/ ImprovedTube.chapters = function (el) { if (ImprovedTube.storage.chapters === true) { - const available = el.querySelector('[target-id*=chapters][visibility*=HIDDEN]') || el.querySelector('[target-id*=chapters]')?.clientHeight; + const available = el.querySelector('[target-id*=chapters][visibility*=HIDDEN]') + || el.querySelector('[target-id*=chapters]')?.clientHeight; if (available) { - ImprovedTube.forbidFocus(2100); + //ImprovedTube.forbidFocus(2100); const modernChapters = el.querySelector('[modern-chapters] #navigation-button button[aria-label]'); modernChapters ? modernChapters.click() : el.querySelector('[target-id*=chapters]')?.removeAttribute('visibility'); if ( yt.config_.EXPERIMENT_FLAGS.kevlar_watch_grid === true ) { available.setAttribute('z-index', '98765') } - } + } }}; /*------------------------------------------------------------------------------ LIVECHAT