Minor changes

This commit is contained in:
Mattias Erming 2014-07-25 04:13:55 -07:00
parent cce3cb0231
commit 8ae98d81b2
2 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,7 @@
<button class="icon sign-in" data-target="#sign-in" data-title="Sign in" data-placement="top" title="Sign in to Shout"></button> <button class="icon sign-in" data-target="#sign-in" data-title="Sign in" data-placement="top" title="Sign in to Shout"></button>
<button class="icon connect" data-target="#connect" data-title="Connect" data-placement="top" title="Connect to network"></button> <button class="icon connect" data-target="#connect" data-title="Connect" data-placement="top" title="Connect to network"></button>
<button class="icon settings" data-target="#settings" data-title="Settings" data-placement="top" title="Client settings"></button> <button class="icon settings" data-target="#settings" data-title="Settings" data-placement="top" title="Client settings"></button>
<a href="" class="icon sign-out" data-placement="top" title="Sign out"></a> <button id="sign-out" class="icon sign-out" data-placement="top" title="Sign out"></button>
</footer> </footer>
</aside> </aside>
<div id="main"> <div id="main">

View File

@ -305,6 +305,10 @@ $(function() {
.sticky(); .sticky();
}); });
sidebar.on("click", "#sign-out", function() {
location.reload();
});
sidebar.on("click", ".close", function() { sidebar.on("click", ".close", function() {
var cmd = "/close"; var cmd = "/close";
var chan = $(this).closest(".chan"); var chan = $(this).closest(".chan");