From 64d4ebdaa15f2a6a4e22f5f28d0b43137883d37f Mon Sep 17 00:00:00 2001 From: Usman Khalid Date: Sat, 28 Sep 2013 00:14:07 +0500 Subject: [PATCH] Revert last commit --- common/static/js/pdfviewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); });