From fbac1f004a2eb3cdcf5d8229987095be3b45c7b1 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 27 Feb 2021 21:11:04 +0100 Subject: [PATCH] Fix pagination being broken on navigation --- app/javascript/legacy/pagination.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/legacy/pagination.coffee b/app/javascript/legacy/pagination.coffee index 4a825b94..1b710459 100644 --- a/app/javascript/legacy/pagination.coffee +++ b/app/javascript/legacy/pagination.coffee @@ -1,4 +1,4 @@ -jQuery -> +$(document).on 'ready turbolinks:load', -> if $('#pagination').length > 0 $('#pagination').hide() loading_posts = false