summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--logintoboggan.permissions.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/logintoboggan.permissions.js b/logintoboggan.permissions.js
index a8c490e..2c281ea 100644
--- a/logintoboggan.permissions.js
+++ b/logintoboggan.permissions.js
@@ -2,7 +2,7 @@
/**
* This is a custom implementation of user.permissions.js, which is necessary
- * because LoginToboggan needs it's pre-auth role to not be explicitly tied to
+ * because LoginToboggan needs its pre-auth role to not be explicitly tied to
* the auth role. The change is minor -- simply exclude the pre-auth role from
* all the auto-checking as the anon and auth user roles are.
*/
@@ -24,8 +24,8 @@ Drupal.behaviors.permissions = {
$(this).addClass('real-checkbox');
$('<input type="checkbox" class="dummy-checkbox" disabled="disabled" checked="checked" />')
.attr('title', Drupal.t("This permission is inherited from the authenticated user role."))
- .hide()
- .insertAfter(this);
+ .insertAfter(this)
+ .hide();
});
// Helper function toggles all dummy checkboxes based on the checkboxes'