diff --git a/war/js/Puzzle.js b/war/js/Puzzle.js index eca88f7..52a5101 100644 --- a/war/js/Puzzle.js +++ b/war/js/Puzzle.js @@ -72,16 +72,15 @@ $(document).ready(function() { - //check for sound toggle + //check for sound toggle $('#soundClick').on('click', function(e) { if(sound == "on"){ sound = "off"; - $(this).html('Unmute'); + $(this).button('option', 'label', 'Unmute'); } else{ sound = "on"; - $(this).html('Mute'); - + $(this).button('option', 'label', 'Mute'); } });