From ceb0b4081eca2bf7ea4fc515d76c34922d6c094f Mon Sep 17 00:00:00 2001
From: Skriv <skrivelese@gmail.com>
Date: Fri, 29 Mar 2019 16:55:49 +0100
Subject: [PATCH] minor

---
 src/js/accordianJS.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/js/accordianJS.js b/src/js/accordianJS.js
index cce8bdfbaaa..34608cac9d0 100644
--- a/src/js/accordianJS.js
+++ b/src/js/accordianJS.js
@@ -32,14 +32,14 @@ postdisplay["doAccordion"] = function (content) {
 		acc[i].onclick = function () {
 			this.classList.toggle("active");
 			var panel = this.nextElementSibling;
-			if(panel === null || panel === undefined){
+			if (panel === null || panel === undefined) {
 				panel = document.getElementById(this.id + "accHidden");
-				if( panel.style.display === 'none' ) {
+				if ( panel.style.display === 'none' ) {
 					panel.style.display = '';
-				}else{
+				} else {
 					panel.style.display = 'none';
 				}
-			}else{
+			} else {
 				if (panel.style.maxHeight) {
 					panel.style.maxHeight = null;
 				} else {
-- 
GitLab