Remove login form from DOM after a successful login.

This fixes issues when using password manager browser extensions.
This commit is contained in:
Samuel Cormier-Iijima 2014-09-10 19:24:03 +00:00
parent 38397248c6
commit f43d48ddc9
1 changed files with 6 additions and 1 deletions

View File

@ -309,7 +309,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")