aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-08 14:24:09 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-08 14:24:09 -0500
commitcfcf985b803e2ce4187d1dad30905a30e4c937b8 (patch)
treef5cbec241cd2fa1cf9333e16016bdf5cd3e54410 /mod/groups
parent855de1b33e1ba1753ac1a5088e640e5fcff09f79 (diff)
downloadelgg-cfcf985b803e2ce4187d1dad30905a30e4c937b8.tar.gz
elgg-cfcf985b803e2ce4187d1dad30905a30e4c937b8.tar.bz2
updated groups js to use new JS hook system
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/views/default/groups/js.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/views/default/groups/js.php b/mod/groups/views/default/groups/js.php
index ad742445b..1b4d33f32 100644
--- a/mod/groups/views/default/groups/js.php
+++ b/mod/groups/views/default/groups/js.php
@@ -1,5 +1,6 @@
-$(function() {
+// this adds a class to support IE8 and older
+elgg.register_hook_handler('init', 'system', function() {
// jQuery uses 0-based indexing
$('#groups-tools').children('li:even').addClass('odd');
});