diff options
author | jessib <jessib@leap.se> | 2013-07-11 12:13:55 -0700 |
---|---|---|
committer | jessib <jessib@leap.se> | 2013-07-11 12:13:55 -0700 |
commit | 4991ac797b37a539d4d26837351c1f2c3505b58d (patch) | |
tree | e00f28b0625d4205386f14964a8447a346ac0478 /users/app/assets/javascripts | |
parent | 047d6c002abfb498f20c09cf318fc4a10901837f (diff) |
Slight cleanup due to some emacs annoyances.
Diffstat (limited to 'users/app/assets/javascripts')
-rw-r--r-- | users/app/assets/javascripts/users.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/users/app/assets/javascripts/users.js b/users/app/assets/javascripts/users.js index 2eb644b..65bed4f 100644 --- a/users/app/assets/javascripts/users.js +++ b/users/app/assets/javascripts/users.js @@ -47,10 +47,10 @@ var element, error, field; if ($.isPlainObject(message) && message.errors) { for (field in message.errors) { - if (field == 'base') { - alert_message(message.errors[field]); - next; - } + if (field == 'base') { + alert_message(message.errors[field]); + next; + } error = message.errors[field]; element = $('form input[name$="[' + field + ']"]'); if (!element) { |