Skip to content

Commit

Permalink
Change color of sound on/off icon
Browse files Browse the repository at this point in the history
Make it a pleasing, high-constrast white color instead of that ugly
green
  • Loading branch information
Greg committed Sep 19, 2013
1 parent c331579 commit 64ad156
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file removed images/mute-off.gif
Binary file not shown.
Binary file added images/mute-off.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/mute-on.gif
Binary file not shown.
Binary file added images/mute-on.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -27,7 +27,7 @@
<div>
<h1>Untrusted</h1>
<h2>&mdash;or&mdash; the Continuing Adventures of Dr. Eval</h2>
<a id="muteButton"><img src="images/mute-off.gif" /></a>
<a id="muteButton"><img src="images/mute-off.png" /></a>
</div>
<div id="panes">
<div id="screenPane">
Expand Down
4 changes: 2 additions & 2 deletions scripts/sound.js
Expand Up @@ -58,11 +58,11 @@ function Sound() {
if (muted) {
bgPlayerElt.jPlayer('unmute');
soundPlayerElt.jPlayer('unmute');
$("#muteButton img").attr('src', 'images/mute-off.gif');
$("#muteButton img").attr('src', 'images/mute-off.png');
} else {
bgPlayerElt.jPlayer('mute');
soundPlayerElt.jPlayer('mute');
$("#muteButton img").attr('src', 'images/mute-on.gif');
$("#muteButton img").attr('src', 'images/mute-on.png');
}
muted = !muted;
}
Expand Down

0 comments on commit 64ad156

Please sign in to comment.