summaryrefslogtreecommitdiff
path: root/js/init.ts
blob: c30619118594abd78bf67fae664c341d4c964749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/// <reference path="navigation.ts" />
/// <reference path="page.ts" />
/// <reference path="theme.ts" />

function init() {
	window.addEventListener("popstate", (_e) => {
		location.reload();
	});

	loadTheme();

	initImages();
}