summaryrefslogtreecommitdiff
path: root/js/iife.js
blob: c7799ae080a5daf84c90751183f03f4bbb7fffa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
(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..."
	*/
	setColour(localStorage.getItem("colour"));
	setTheme(localStorage.getItem("theme"));
})();