Skip to content

Commit

Permalink
logout working
Browse files Browse the repository at this point in the history
  • Loading branch information
alunny committed Jul 17, 2009
1 parent a1e69c4 commit dcde99d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ <h1>Pigeon</h1>
return false;
})

x$("#menu_logout").click(function() {
x$("#content").html(" ");
x$("#post_new_tweet").css({display:"none"});
document.getElementById('user_field').value = "";
document.getElementById('pass_field').value = "";
show_panel("#login_screen");
})

</script>
</body>
</html>

0 comments on commit dcde99d

Please sign in to comment.