diff --git a/client/js/shout.js b/client/js/shout.js index b3263fda..c2f73454 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -71,7 +71,10 @@ $(function() { }); } body.addClass("signed-out"); - login.find("input[name='user']").val($.cookie("user") || ""); + var input = login.find("input[name='user']"); + if (input.val() === "") { + input.val($.cookie("user") || ""); + } sidebar.find(".sign-in") .click() .end()