Merge pull request #100 from sciyoshi/remove-login-form

Remove login form from DOM after a successful login
This commit is contained in:
Mattias Erming 2014-09-10 22:11:35 +02:00
commit 64d1c99241

View File

@ -326,7 +326,12 @@ $(function() {
viewport.removeClass();
$("#windows .active").removeClass("active");
var active = $("#windows .active").removeClass("active");
if (active.attr('id') == 'sign-in') {
active.detach();
}
var chan = $(target)
.addClass("active")
.trigger("show")