aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/core/river/filter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/core/river/filter.php b/views/default/core/river/filter.php
index 7f8b7dec7..0df10675c 100644
--- a/views/default/core/river/filter.php
+++ b/views/default/core/river/filter.php
@@ -37,7 +37,7 @@ echo elgg_view('input/dropdown', $params);
?>
<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
-$(document).ready(function() {
+elgg.register_event_handler('init', 'system', function() {
$('#elgg-river-selector').change(function() {
var url = window.location.href;
if (window.location.search.length) {