From 77180e4fd65f25f347e75f0cee7d066504af57f1 Mon Sep 17 00:00:00 2001 From: zeroth Date: Wed, 28 Oct 2020 23:18:14 +0000 Subject: [PATCH] scoll down to doc for mobile on show all as well --- templates/layout.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/layout.html b/templates/layout.html index cd4a95f..099313a 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -325,6 +325,10 @@ var flag = true; $("html, body").animate({ scrollTop: $(document).height() }, 1000); //(... rest of your JS code) }); + $("#showall").on('click', function(event){ + $("html, body").animate({ scrollTop: $(document).height() }, 1000); + //(... rest of your JS code) + }); }