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();
|
sidebar.find(".empty").hide();
|
||||||
$("body").removeClass("signed-out");
|
$("body").removeClass("signed-out");
|
||||||
|
$("#sign-in").detach();
|
||||||
|
|
||||||
var id = $.cookie("target");
|
var id = $.cookie("target");
|
||||||
var target = sidebar.find("[data-target='" + id + "']").trigger("click");
|
var target = sidebar.find("[data-target='" + id + "']").trigger("click");
|
||||||
|
@ -332,10 +333,7 @@ $(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
viewport.removeClass();
|
viewport.removeClass();
|
||||||
var active = $("#windows .active").removeClass("active");
|
$("#windows .active").removeClass("active");
|
||||||
if (active.attr("id") == "sign-in") {
|
|
||||||
active.detach();
|
|
||||||
}
|
|
||||||
|
|
||||||
var chan = $(target)
|
var chan = $(target)
|
||||||
.addClass("active")
|
.addClass("active")
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "shout",
|
"name": "shout",
|
||||||
"description": "A web IRC client",
|
"description": "A web IRC client",
|
||||||
"version": "0.23.1",
|
"version": "0.23.2",
|
||||||
"author": "Mattias Erming",
|
"author": "Mattias Erming",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
Loading…
Reference in New Issue