diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/index.html | 1 | ||||
| -rw-r--r-- | public/js/auth.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/public/index.html b/public/index.html index 943650b..344599e 100644 --- a/public/index.html +++ b/public/index.html @@ -69,6 +69,7 @@ other stuff: <a href="/palette.html">palette</a> <a href="/canvas.html">canvas</a> + <a id="logout">logout</a> </nav> </body> diff --git a/public/js/auth.js b/public/js/auth.js index e2ad58d..0297ddd 100644 --- a/public/js/auth.js +++ b/public/js/auth.js @@ -18,6 +18,7 @@ var Auth = { break } }); + $("#logout").click(Auth.logout); }, loggedIn: function(){ if (localStorage && localStorage['nick']) { |
