diff --git a/index.html b/index.html index 349fe9b..c7c4a62 100644 --- a/index.html +++ b/index.html @@ -21,6 +21,7 @@ +
diff --git a/js/main.js b/js/main.js index b74612a..6e2a0ee 100644 --- a/js/main.js +++ b/js/main.js @@ -971,6 +971,14 @@ $("#review-overlay-button").click(function (evt) { } }); +$("#fullscreen-overlay-button").click(function (evt) { + if (document.fullscreen == false) { + document.documentElement.requestFullscreen(); + } else { + document.exitFullscreen(); + } +}); + $("#finish-exam, #time-up-review-button").click(function (evt) { window.review = true; reviewQuestions();