From e7bab323eb7b1b33c211e8628ac13802ded61cf1 Mon Sep 17 00:00:00 2001
From: 702573N M4275CH1NK3 <59178587+702573N@users.noreply.github.com>
Date: Tue, 27 Dec 2022 19:48:05 +0100
Subject: [PATCH] Fix: Broken custom css parameter (#44)
---
tasksCalendar/view.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tasksCalendar/view.js b/tasksCalendar/view.js
index f4f24e9..2d11ff6 100644
--- a/tasksCalendar/view.js
+++ b/tasksCalendar/view.js
@@ -29,7 +29,6 @@ var tDay = moment().format("d");
var tYear = moment().format("YYYY");
var tid = (new Date()).getTime();
if (startPosition) { var selectedMonth = moment(startPosition, "YYYY-MM").date(1); var selectedWeek = moment(startPosition, "YYYY-ww").startOf("week") } else { var selectedMonth = moment(startPosition).date(1); var selectedWeek = moment(startPosition).startOf("week") };
-if (css) { var style = document.createElement("style"); style.innerHTML = css; rootNode.append(style) };
var selectedDate = eval("selected"+capitalize(view));
var arrowLeftIcon = '';
var arrowRightIcon = '';
@@ -43,6 +42,7 @@ var calendarHeartIcon = '