diff options
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js')
| -rw-r--r-- | StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js b/StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js new file mode 100644 index 00000000..735c0242 --- /dev/null +++ b/StoneIsland/platforms/ios/www/js/lib/auth/LogoutView.js @@ -0,0 +1,15 @@ +var LogoutView = View.extend({ + + el: "#logout", + + events: { + }, + + show: function(){ + document.body.className = "logout" + app.footer.hide() + app.account.logged_out() + auth.clear_user() + }, + +})
\ No newline at end of file |
