diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-01-26 03:31:05 -0600 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-01-26 03:31:05 -0600 |
commit | 5dfe3b8c21ca79300a1851d7658f8aa389b2733f (patch) | |
tree | cec57fbb05666de1fecefe23de00e9d54ac1e50c /includes | |
parent | d7b0c04459a6ec42a37255c38d67cea14fb60e61 (diff) | |
download | pathery-5dfe3b8c21ca79300a1851d7658f8aa389b2733f.tar.xz |
BUGFIX: Clicking the 'mute' button doesn't save across all maps until page is refreshed
Diffstat (limited to 'includes')
-rw-r--r-- | includes/maps.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/maps.php b/includes/maps.php index 03bcd81..d41505a 100644 --- a/includes/maps.php +++ b/includes/maps.php @@ -155,9 +155,9 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL) }
if (isset($_COOKIE['pref_mute']) && $_COOKIE['pref_mute'] == "true") {
- $mutebutton = "<label><input onclick='savePref(\"mute\", this.checked)' type='checkbox' id='$idprefix,mute' checked='checked' />Mute</label>";
+ $mutebutton = "<label><input onclick='setMute(this.checked)' type='checkbox' id='$idprefix,mute' class='checkbox_mute' checked='checked' />Mute</label>";
} else {
- $mutebutton = "<label><input onclick='savePref(\"mute\", this.checked)' type='checkbox' id='$idprefix,mute' />Mute</label>";
+ $mutebutton = "<label><input onclick='setMute(this.checked)' type='checkbox' id='$idprefix,mute' class='checkbox_mute' />Mute</label>";
}
|