Skip to content

Commit

Permalink
Merge pull request #410 from kaltura/SUP-35859-Bug-in-video-resource-…
Browse files Browse the repository at this point in the history
…Moodle-plugin

SUP-35859 move kalvidres css to view
  • Loading branch information
roileviK authored Feb 4, 2024
2 parents 519300c + 7b76b96 commit f938480
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion mod/kalvidres/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class mod_kalvidres_mod_form extends moodleform_mod {
public function definition() {
global $CFG, $COURSE, $PAGE;

$PAGE->requires->css('/mod/kalvidres/styles.css');
$pageclass = 'kaltura-kalvidres-body';
$PAGE->add_body_class($pageclass);

Expand Down
1 change: 1 addition & 0 deletions mod/kalvidres/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
$completion = new completion_info($course);
$completion->set_module_viewed($cm);

$PAGE->requires->css('/mod/kalvidres/styles.css');
echo $OUTPUT->header();

$renderer = $PAGE->get_renderer('mod_kalvidres');
Expand Down

0 comments on commit f938480

Please sign in to comment.