From aa061952dd30c8dc661733caf08406bd03bb200d Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Tue, 24 Jun 2014 19:02:02 -0400 Subject: foo --- static/js/pichat.js | 3 ++- static/js/pichat2.js | 3 ++- static/js/src/userlist.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/static/js/pichat.js b/static/js/pichat.js index 61ddf3c..dc3b43b 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -2248,7 +2248,8 @@ function linkReplaceWithoutImage(url){ return "" + url + "" } -var MUTES = localStorage["mutes"] ? JSON.parse(localStorage["mutes"]) : {} +var MUTES = localStorage["mutes"] ? JSON.parse(localStorage["mutes"]) : {}; + $(".mute").live("click", function(){ $(this).removeClass("mute"); $(this).addClass("unmute"); diff --git a/static/js/pichat2.js b/static/js/pichat2.js index 61ddf3c..dc3b43b 100644 --- a/static/js/pichat2.js +++ b/static/js/pichat2.js @@ -2248,7 +2248,8 @@ function linkReplaceWithoutImage(url){ return "" + url + "" } -var MUTES = localStorage["mutes"] ? JSON.parse(localStorage["mutes"]) : {} +var MUTES = localStorage["mutes"] ? JSON.parse(localStorage["mutes"]) : {}; + $(".mute").live("click", function(){ $(this).removeClass("mute"); $(this).addClass("unmute"); diff --git a/static/js/src/userlist.js b/static/js/src/userlist.js index 7ac6e2f..d18da65 100644 --- a/static/js/src/userlist.js +++ b/static/js/src/userlist.js @@ -1,4 +1,5 @@ -var MUTES = localStorage["mutes"] ? JSON.parse(localStorage["mutes"]) : {} +var MUTES = localStorage["mutes"] ? JSON.parse(localStorage["mutes"]) : {}; + $(".mute").live("click", function(){ $(this).removeClass("mute"); $(this).addClass("unmute"); -- cgit v1.2.3-70-g09d2