From b3dd531abbb4f76a7179d296af9e20d40a2c0b08 Mon Sep 17 00:00:00 2001 From: Tom Hirschberger Date: Tue, 11 Jan 2022 15:52:00 +0100 Subject: [PATCH] removed adding of shown class --- js/main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/main.js b/js/main.js index fa8db4a0..816d021a 100644 --- a/js/main.js +++ b/js/main.js @@ -245,7 +245,6 @@ const MM = (function () { if (moduleWrapper !== null) { moduleWrapper.style.transition = "opacity " + speed / 1000 + "s"; moduleWrapper.style.opacity = 0; - moduleWrapper.className = moduleWrapper.className.split(" shown").join(""); moduleWrapper.className += " hidden"; clearTimeout(module.showHideTimer); @@ -313,7 +312,6 @@ const MM = (function () { // Restore the position. See hideModule() for more info. moduleWrapper.style.position = "static"; moduleWrapper.className = moduleWrapper.className.split(" hidden").join(""); - moduleWrapper.className += " shown"; updateWrapperStates();