diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2014-06-24 19:01:23 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2014-06-24 19:01:23 -0400 |
| commit | 920cb1f15f2db2c5e562cdf02d94e9d141307573 (patch) | |
| tree | 409a902b32357a14aa719b970fa1568455f91ba9 /static/js | |
| parent | 07a878c0276d6edb47f64b4e9c7d62d0e2686bbc (diff) | |
| parent | aa061952dd30c8dc661733caf08406bd03bb200d (diff) | |
Merge branch 'master' of /pichat/repo
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/pichat.js | 3 | ||||
| -rw-r--r-- | static/js/pichat2.js | 3 | ||||
| -rw-r--r-- | 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 "<a target='_blank' href='" + linkUrl + "'>" + url + "</a>" } -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 "<a target='_blank' href='" + linkUrl + "'>" + url + "</a>" } -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"); |
