soiz1 commited on
Commit
385307b
·
verified ·
1 Parent(s): 874fb01

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -2
index.html CHANGED
@@ -556,8 +556,7 @@ function goFullscreen() {
556
  }
557
 
558
  function toggleSubtitleMenu() {
559
- const subtitleSettings = document.querySelector('.subtitle-settings');
560
- subtitleSettings.style.display = subtitleSettings.style.display === 'none' ? 'block' : 'none';
561
  }
562
 
563
  // イベントリスナー
 
556
  }
557
 
558
  function toggleSubtitleMenu() {
559
+ document.getElementById('subtitleToggle').checked ^= true;
 
560
  }
561
 
562
  // イベントリスナー