diff --git a/classes/output/renderer.php b/classes/output/renderer.php
index 77f43aa..a681052 100644
--- a/classes/output/renderer.php
+++ b/classes/output/renderer.php
@@ -1,4 +1,4 @@
-";
+ $script = "";
return $script;
}
diff --git a/lib.php b/lib.php
index 5ac58af..9884454 100644
--- a/lib.php
+++ b/lib.php
@@ -56,7 +56,7 @@ function mod_exp360_cm_info_dynamic(cm_info $cm)
$script = $renderer->render_activity($cm->id);
$cm->set_no_view_link();
- $cm->set_content($script . $modals);
+ $cm->set_content($modals . $script);
}
/**