From: Cash Costello Date: Sun, 8 Jan 2012 19:24:09 +0000 (-0500) Subject: updated groups js to use new JS hook system X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=cfcf985b803e2ce4187d1dad30905a30e4c937b8;p=lorea%2Felgg.git updated groups js to use new JS hook system --- 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'); });