File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -767,6 +767,7 @@ <h1 class="sr-only">Half-Life Dedicated Server with Docker</h1>
767767 < script >
768768 const clickSound = new Audio ( "click.mp3" ) ;
769769 const noSound = new Audio ( "no.mp3" ) ;
770+ noSound . volume = 0.6 ;
770771
771772 // Map data for each game
772773 const mapData = {
@@ -1068,18 +1069,9 @@ <h1 class="sr-only">Half-Life Dedicated Server with Docker</h1>
10681069 } ) ;
10691070 }
10701071
1071- // Attach wise sound to icons
1072- const wiseSound = new Audio ( "wise.mp3" ) ;
1073- const titleIcon = document . querySelector ( ".title-bar-icon" ) ;
1074- if ( titleIcon ) {
1075- titleIcon . style . cursor = "pointer" ;
1076- titleIcon . addEventListener ( "click" , ( ) => {
1077- wiseSound . currentTime = 0 ;
1078- wiseSound . play ( ) . catch ( e => console . log ( "Audio play failed:" , e ) ) ;
1079- } ) ;
1080- }
1081-
10821072 // Attach wise sound to footer icon
1073+ const wiseSound = new Audio ( "wise.mp3" ) ;
1074+ wiseSound . volume = 0.6 ;
10831075 const footerLink = document . querySelector ( ".footer-link" ) ;
10841076 if ( footerLink ) {
10851077 footerLink . addEventListener ( "click" , ( e ) => {
You can’t perform that action at this time.
0 commit comments