diff options
author | azul <azul@riseup.net> | 2014-05-09 11:03:53 +0200 |
---|---|---|
committer | azul <azul@riseup.net> | 2014-05-09 11:03:53 +0200 |
commit | 726244f1c6bb72fb53a257c084dfbdf7b9c2b03c (patch) | |
tree | 1f4bf66497851265a62081124a4ff5b23d0cd09e /app/assets/javascripts | |
parent | cf6aa0a6c8852424e39e4785a1bd783ab475376b (diff) | |
parent | 616313b406e561b45a73e34f54fd5fc7595f9658 (diff) |
Merge pull request #156 from azul/bugfix/5548-hide-signup-forms-without-js0.5.1-rc2
hide srp forms when no js is available
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/users.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/users.js b/app/assets/javascripts/users.js index fa20399..e6c2fcc 100644 --- a/app/assets/javascripts/users.js +++ b/app/assets/javascripts/users.js @@ -160,6 +160,8 @@ // $(document).ready(function() { + $('.hidden.js-show').removeClass('hidden'); + $('.js-show').show(); $('#new_user').submit(prevent_default); $('#new_user').submit(clear_field_errors); $('#new_user').submit(validate_password_length); |