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

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")