Remove login form from DOM after a successful login.
This fixes issues when using password manager browser extensions.
This commit is contained in:
parent
38397248c6
commit
f43d48ddc9
@ -309,7 +309,12 @@ $(function() {
|
|||||||
|
|
||||||
viewport.removeClass();
|
viewport.removeClass();
|
||||||
|
|
||||||
$("#windows .active").removeClass("active");
|
var active = $("#windows .active").removeClass("active");
|
||||||
|
|
||||||
|
if (active.attr('id') == 'sign-in') {
|
||||||
|
active.detach();
|
||||||
|
}
|
||||||
|
|
||||||
var chan = $(target)
|
var chan = $(target)
|
||||||
.addClass("active")
|
.addClass("active")
|
||||||
.trigger("show")
|
.trigger("show")
|
||||||
|
Loading…
Reference in New Issue
Block a user