From 5aa6284b1d9588b5811c56e73132419f85dd07f3 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 14 Sep 2020 00:19:38 -0400 Subject: [PATCH] [frio] Destroy unused perfect scrollbar on the aside element - It was interfering with accented scheme styles --- view/theme/frio/js/theme.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index b7f222c0a..1a2dec338 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -2,6 +2,9 @@ var jotcache = ''; //The jot cache. We use it as cache to restore old/original jot content $(document).ready(function(){ + // Destroy unused perfect scrollbar in aside element + $('aside').perfectScrollbar('destroy'); + //fade in/out based on scrollTop value var scrollStart;