File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -438,9 +438,6 @@ async function videoIDChange(id: string): Promise<void> {
438438 }
439439 }
440440
441- //close popup
442- closeInfoMenu ( ) ;
443-
444441 sponsorsLookup ( ) ;
445442
446443 // Make sure all player buttons are properly added
@@ -1812,7 +1809,8 @@ async function updateVisibilityOfPlayerControlsButton(): Promise<void> {
18121809 updateEditButtonsOnPlayer ( ) ;
18131810
18141811 // Don't show the info button on embeds
1815- if ( Config . config . hideInfoButtonPlayerControls || document . URL . includes ( "/embed/" ) || onInvidious ) {
1812+ if ( Config . config . hideInfoButtonPlayerControls || document . URL . includes ( "/embed/" ) || onInvidious
1813+ || document . getElementById ( "sponsorBlockPopupContainer" ) != null ) {
18161814 playerButtons . info . button . style . display = "none" ;
18171815 } else {
18181816 playerButtons . info . button . style . removeProperty ( "display" ) ;
You can’t perform that action at this time.
0 commit comments