diff --git a/common/static/js/pdfviewer.js b/common/static/js/pdfviewer.js index 3424a09892..a76e2f397c 100755 --- a/common/static/js/pdfviewer.js +++ b/common/static/js/pdfviewer.js @@ -327,11 +327,11 @@ PDFJS.disableWorker = true; loadUrl(chapterUrl, pageVal); } - $(".last").on('click','#previous',function(){ + $("#previous").click(function(event) { prevPage(); }); - $(".next").on('click','#next',function(){ + $("#next").click(function(event) { nextPage(); });