aboutsummaryrefslogtreecommitdiff
path: root/mod/zaudio/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/zaudio/views')
-rw-r--r--mod/zaudio/views/default/zaudio/audioplayer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/zaudio/views/default/zaudio/audioplayer.php b/mod/zaudio/views/default/zaudio/audioplayer.php
index 2708f4cec..6898506a6 100644
--- a/mod/zaudio/views/default/zaudio/audioplayer.php
+++ b/mod/zaudio/views/default/zaudio/audioplayer.php
@@ -5,7 +5,7 @@
*/
$js_url = elgg_get_site_url() . 'mod/zaudio/audioplayer/audio-player.js';
-elgg_register_js($js_url, 'zaudio');
+elgg_register_js('elgg.zaudio', $js_url);
$swf_url = elgg_get_site_url() . 'mod/zaudio/audioplayer/player.swf';
$mp3_url = elgg_get_site_url() . "mod/file/download.php?file_guid={$vars['file_guid']}";