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