Skip to content

Commit e61b5b5

Browse files
committed
chore: js to js file
1 parent 2da6df5 commit e61b5b5

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

start.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function questions_init() {
2020

2121
// extend CSS/JS
2222
elgg_extend_view('css/elgg', 'css/questions/site.css');
23-
elgg_extend_view('js/elgg', 'js/questions/site');
23+
elgg_extend_view('js/elgg', 'js/questions/site.js');
2424

2525
elgg_register_menu_item('site', [
2626
'name' => 'questions',
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
<?php
2-
/**
3-
* Javascript file for this plugin. This is added to the global site JS.
4-
*
5-
* @package ElggQuestions
6-
*/
7-
?>
8-
//<script>
1+
// Questions JS
92
elgg.provide('elgg.questions');
103

114
elgg.questions.init = function() {

0 commit comments

Comments
 (0)