File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -383,12 +383,12 @@ function resetValues() {
383383 // Reset advert playing flag
384384 isAdPlaying = false ;
385385
386+ skipButtonControlBar ?. disable ( ) ;
387+ categoryPill ?. setVisibility ( false ) ;
388+
386389 for ( let i = 0 ; i < skipNotices . length ; i ++ ) {
387390 skipNotices . pop ( ) ?. close ( ) ;
388391 }
389-
390- skipButtonControlBar ?. disable ( ) ;
391- categoryPill ?. setVisibility ( false ) ;
392392}
393393
394394async function videoIDChange ( id : string ) : Promise < void > {
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ export class SkipButtonControlBar {
102102 this . enabled = true ;
103103
104104 this . refreshText ( ) ;
105+ this . container ?. classList ?. remove ( "textDisabled" ) ;
105106 this . textContainer ?. classList ?. remove ( "hidden" ) ;
106107 AnimationUtils . disableAutoHideAnimation ( this . skipIcon ) ;
107108
@@ -134,7 +135,6 @@ export class SkipButtonControlBar {
134135
135136 disable ( ) : void {
136137 this . container . classList . add ( "hidden" ) ;
137- this . textContainer ?. classList ?. remove ( "hidden" ) ;
138138
139139 this . chapterText ?. classList ?. remove ( "hidden" ) ;
140140 this . getChapterPrefix ( ) ?. classList ?. remove ( "hidden" ) ;
You can’t perform that action at this time.
0 commit comments