diff options
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/fullscreen.js | 5 | ||||
| -rw-r--r-- | static/js/pichat.js | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/static/js/fullscreen.js b/static/js/fullscreen.js index 192f92a..374fd90 100644 --- a/static/js/fullscreen.js +++ b/static/js/fullscreen.js @@ -38,13 +38,11 @@ function clickImage(img) { if (!$(img).hasClass('fullscreen-favorite')) { FavedMap[msg_id] = true; $('#fav-indicator').show(); - console.log('faving ' + msg_id); Tag.add(msg_id, "favorite"); $(img).addClass("fullscreen-favorite"); } else { delete FavedMap[msg_id]; $('#fav-indicator').hide(); - console.log('defaving ' + msg_id); Tag.rm(msg_id, "favorite"); $(img).removeClass("fullscreen-favorite"); } @@ -104,6 +102,8 @@ function initLogin() { } function showLogin() { + $('#nickInput').val(''); + $('#passwordInput').val(''); $('#loginbox').show().center().center(); $('#username').focus(); $('input').removeAttr('disabled'); @@ -157,7 +157,6 @@ function login() { }); })(jQuery); -// me (scottbot) (dumpco 2010 ltd inc) (function($) { $.fn.extend({ ridgificate: function() { diff --git a/static/js/pichat.js b/static/js/pichat.js index 18e438a..36e4087 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -764,7 +764,6 @@ function setupUploadAvatar(elementId) { } var s = '<img id="dashavatarPic" src="' + r + '" />'; - console.log('setting avatar img to ' + s); $('#dashavatar').html(s).show(); }; new AjaxUpload(elementId, { |
