Forgot to refresh scrolling element..

This commit is contained in:
Kasper Rynning-Tønnesen
2015-04-17 13:55:15 +02:00
parent 7001167ff9
commit fbfddb7bd2
2 changed files with 10 additions and 2 deletions

View File

@@ -46,6 +46,9 @@ socket.on("pw", function(msg)
$("input[name="+names[i]+"]").attr("disabled", false);
}
$(".card-action").removeClass("hide");
refresh_scroll();
localStorage.setItem("passord_i_klartekst_lol", msg);
Materialize.toast("Correct Password. You are now admin", 4000);
});