diff options
Diffstat (limited to 'static/js/pichat.js')
| -rw-r--r-- | static/js/pichat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 2cee712..f678cc1 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -2248,7 +2248,7 @@ function linkReplaceWithoutImage(url){ return "<a target='_blank' href='" + linkUrl + "'>" + url + "</a>" } -var MUTES = localStorage['mutes']['nick']; +var MUTES = localStorage['mutes'] || {}; $(".mute").live("click", function(){ $(this).removeClass("mute"); $(this).addClass("unmute"); |
