diff --git a/start.php b/start.php index 292fc36..bc8edc2 100644 --- a/start.php +++ b/start.php @@ -20,7 +20,7 @@ function questions_init() { // extend CSS/JS elgg_extend_view('css/elgg', 'css/questions/site.css'); - elgg_extend_view('js/elgg', 'js/questions/site'); + elgg_extend_view('js/elgg', 'js/questions/site.js'); elgg_register_menu_item('site', [ 'name' => 'questions', diff --git a/views/default/js/questions/site.php b/views/default/js/questions/site.js similarity index 86% rename from views/default/js/questions/site.php rename to views/default/js/questions/site.js index da00be0..cb194e9 100644 --- a/views/default/js/questions/site.php +++ b/views/default/js/questions/site.js @@ -1,11 +1,4 @@ - -//