diff --git a/mod/lesson/styles.php b/mod/lesson/styles.php
index 108c0b4651f..13a11cd43e9 100644
--- a/mod/lesson/styles.php
+++ b/mod/lesson/styles.php
@@ -41,3 +41,11 @@
.mod-lesson .viewpos {
}
+
+.mod-lesson .previousbutton {
+
+}
+
+.mod-lesson .nextbutton {
+
+}
\ No newline at end of file
diff --git a/mod/lesson/view.php b/mod/lesson/view.php
index 54c15ecbcb0..afce5f45c36 100644
--- a/mod/lesson/view.php
+++ b/mod/lesson/view.php
@@ -830,7 +830,7 @@
// next 3 foreach loops print out the links in correct order
foreach ($nextprevious as $jump) {
if ($jump->jumpto == LESSON_PREVIOUSPAGE) {
- echo "
jumpto;document.answerform.submit();\"".
+ echo " jumpto;document.answerform.submit();\"".
"value = \"$jump->answer\" /> ";
}
}
@@ -843,7 +843,7 @@
echo "";
foreach ($nextprevious as $jump) {
if ($jump->jumpto == LESSON_NEXTPAGE) {
- echo " jumpto;document.answerform.submit();\"".
+ echo " jumpto;document.answerform.submit();\"".
"value = \"$jump->answer\" /> ";
}
}
@@ -852,7 +852,7 @@
// next 3 foreach loops print out the links in correct order
foreach ($nextprevious as $jump) {
if ($jump->jumpto == LESSON_NEXTPAGE) {
- echo " jumpto;document.answerform.submit();\"".
+ echo " jumpto;document.answerform.submit();\"".
"value = \"$jump->answer\" /> ";
}
}
@@ -863,7 +863,7 @@
}
foreach ($nextprevious as $jump) {
if ($jump->jumpto == LESSON_PREVIOUSPAGE) {
- echo " jumpto;document.answerform.submit();\"".
+ echo " jumpto;document.answerform.submit();\"".
"value = \"$jump->answer\" /> ";
}
}