From 84b666cacd40961a8828389f83a9aee880e5c420 Mon Sep 17 00:00:00 2001
From: Ny11 <Ny11>
Date: Tue, 26 Feb 2019 10:29:56 +0100
Subject: [PATCH] Revert "Testing-commit for the accordion extension"

This reverts commit e5fee7bcc00d2e78e1547ad752d7730ca29d3cd2.
---
 src/js/utilJS.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/js/utilJS.js b/src/js/utilJS.js
index 4fb11072b17..68ea053731c 100644
--- a/src/js/utilJS.js
+++ b/src/js/utilJS.js
@@ -552,7 +552,7 @@ window.budgetLine = function(category, title) {
 		profits = "$lastWeeksCashProfits";
 
 		return`<<if ${income}.${category} || ${expenses}.${category}>><tr>\
-		<td><div id="${category}" class= "accordion"> ${title}</div></td>\
+		<td>${title}</td>\
 		<td>\
 			<<if (${income}.${category}) > 0>>\
 				@@.yellowgreen;<<print cashFormat(${income}.${category})>>@@\ /*please don't put a plus sign in front of income, it's not done on a budget sheet.  Safe to assume money is money unless it's in parenthesis or with a - sign.*/
@@ -577,9 +577,7 @@ window.budgetLine = function(category, title) {
 				<<print cashFormat(${profits}.${category})>>\
 			<</if>>\
 		</td>\
-		</tr>\
-		<tr id="${category}accHidden" class="accHidden" style="display:none;">\<td>\Label</td>\<td>\@@.yellowgreen;<<print cashFormat(12)>>@@</td>\<td>\@@.red;-<<print cashFormat(7)>>@@</td>\<td>\@@.yellowgreen;<<print cashFormat(5)>>@@</td>\</tr>\
-		<</if>>`;
+		</tr><</if>>`;
 	}
 
 };
-- 
GitLab