From a1c948b674d224fbf4e1e162b6e30b2584b3f6ba Mon Sep 17 00:00:00 2001 From: fsalomon Date: Mon, 17 Oct 2016 19:25:14 +0200 Subject: [PATCH] Update pagination.js Fix ReferenceError event is not defined --- src/pagination.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pagination.js b/src/pagination.js index 6cfe45f..7fa5734 100644 --- a/src/pagination.js +++ b/src/pagination.js @@ -692,7 +692,7 @@ }); // Go button click - el.delegate('.J-paginationjs-go-button', 'click', function() { + el.delegate('.J-paginationjs-go-button', 'click', function(event) { var pageNumber = $('.J-paginationjs-go-pagenumber', el).val(); // Before Go button clicked @@ -1054,4 +1054,4 @@ }); } -})(this, window.jQuery); \ No newline at end of file +})(this, window.jQuery); -- GitLab