mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
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
1 changed files with 6 additions and 1 deletions
|
@ -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 a new issue