Merge pull request #100 from sciyoshi/remove-login-form
Remove login form from DOM after a successful login
This commit is contained in:
commit
64d1c99241
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue