diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-09 01:48:51 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-09 01:48:51 -0500 |
| commit | 9cb9177accbbf6e4397cc71bc06dff0ccd47f441 (patch) | |
| tree | 8f1c1ab7e78da7ecace35db86f14b38119d87e1d /StoneIsland/www/js/lib/account/LoginView.js | |
| parent | dad5f3f0c3c13e8334a6a0ea522c5a2bfe8cd830 (diff) | |
login view
Diffstat (limited to 'StoneIsland/www/js/lib/account/LoginView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/account/LoginView.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/StoneIsland/www/js/lib/account/LoginView.js b/StoneIsland/www/js/lib/account/LoginView.js index 3b409b3d..31137c55 100644 --- a/StoneIsland/www/js/lib/account/LoginView.js +++ b/StoneIsland/www/js/lib/account/LoginView.js @@ -11,14 +11,10 @@ var LoginView = View.extend({ }, show: function(){ - this.$form.reset() - document.body.classList.add("login") + this.$form.get(0).reset() + document.body.className = "login" }, - - hide: function(){ - document.body.classList.remove("login") - }, - + submit: function(e){ e.preventDefault() }, |
