Fix login screen disappearing
This commit is contained in:
parent
585391905e
commit
b1217aa416
File diff suppressed because one or more lines are too long
|
@ -115,6 +115,7 @@ $(function() {
|
|||
|
||||
sidebar.find(".empty").hide();
|
||||
$("body").removeClass("signed-out");
|
||||
$("#sign-in").detach();
|
||||
|
||||
var id = $.cookie("target");
|
||||
var target = sidebar.find("[data-target='" + id + "']").trigger("click");
|
||||
|
@ -332,10 +333,7 @@ $(function() {
|
|||
}
|
||||
|
||||
viewport.removeClass();
|
||||
var active = $("#windows .active").removeClass("active");
|
||||
if (active.attr("id") == "sign-in") {
|
||||
active.detach();
|
||||
}
|
||||
$("#windows .active").removeClass("active");
|
||||
|
||||
var chan = $(target)
|
||||
.addClass("active")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "shout",
|
||||
"description": "A web IRC client",
|
||||
"version": "0.23.1",
|
||||
"version": "0.23.2",
|
||||
"author": "Mattias Erming",
|
||||
"preferGlobal": true,
|
||||
"bin": {
|
||||
|
|
Loading…
Reference in New Issue