summaryrefslogtreecommitdiff
path: root/js/iife.js
blob: 43018d552a8a5c596f3409ff915fd6252e0f8b21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
(function () {
	/*
		We set cookies by default, but we do NOT need consent for these as they 
		are necessary and as per <https://gdpr.eu/cookies>: "To comply with the 
		regulations governing cookies under the GDPR and the ePrivacy Directive 
		you must: ... Receive users’ consent before you use any cookies 
		__except__ strictly necessary cookies..."
	*/
	setTheme(localStorage.getItem("theme"));
})();