summaryrefslogtreecommitdiff
path: root/static/js/pichat.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/pichat.js')
-rw-r--r--static/js/pichat.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 5163a2d..8d69e62 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -605,6 +605,16 @@ function paletteClicked(){
function initChat() {
Search.initInpage()
+
+ $('#textbutton input').attr('checked', TextEnabled).change(setTextEnable);
+ $('#imgbutton input').attr('checked', ImgsEnabled).change(setImgsEnable);
+/* $('#clearbutton input').click(function() {
+ track('UI', 'ClearScreen');
+ $('.dump').remove();
+ $(this).removeAttr('checked');
+ return false;
+ });
+*/
$('.oldmsg').each(function() {
var dump = $(this);