diff --git a/public/js/slide.js b/public/js/slide.js
index f5f8a14df..795f47bed 100644
--- a/public/js/slide.js
+++ b/public/js/slide.js
@@ -54,7 +54,7 @@ viewAjaxCallback = function () {
     Reveal.layout();
 };
 
-function renderSlide() {
+function renderSlide(event) {
     var title = document.title;
     finishView($(event.currentSlide));
     document.title = title;