Skip to content

Commit

Permalink
chore: js to js file
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Dec 7, 2016
1 parent 2da6df5 commit e61b5b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion start.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
<?php
/**
* Javascript file for this plugin. This is added to the global site JS.
*
* @package ElggQuestions
*/
?>
//<script>
// Questions JS
elgg.provide('elgg.questions');

elgg.questions.init = function() {
Expand Down

0 comments on commit e61b5b5

Please sign in to comment.