summaryrefslogtreecommitdiff
path: root/static/js/fullscreen.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/fullscreen.js')
-rw-r--r--static/js/fullscreen.js5
1 files changed, 2 insertions, 3 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() {