Fix login screen disappearing

This commit is contained in:
Mattias Erming 2014-09-11 03:08:33 -07:00
parent 585391905e
commit b1217aa416
3 changed files with 4 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -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")

View File

@ -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": {