Node.js based forum software built for the modern web
tweaking app.alert so that on regular fadeout (after timeout expiry), the alert is removed from the DOM
Julian Lam4dced643c553
diff --git a/public/src/app.js b/public/src/app.jsindex bf5065d6c6..4a989e06bd 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -71,14 +71,18 @@ var socket,if (params.timeout) {setTimeout(function() {- jQuery(div).fadeOut(1000);+ jQuery(div).fadeOut(1000, function() {+ this.remove();+ });}, params.timeout)}if (params.clickfn) {div.onclick = function() {params.clickfn();- jQuery(div).fadeOut(500);+ jQuery(div).fadeOut(500, function() {+ this.remove();+ });}}}diff --git a/src/user.js b/src/user.jsindex 823a913ca3..beeb94ff94 100644--- a/src/user.js+++ b/src/user.js@@ -116,7 +116,6 @@ var config = require('../config.js'),}User.getUserField(uid, 'password', function(user_password) {-bcrypt.compare(password, user_password, function(err, res) {if (res === true) {next({