6 directories, 29 files

tinai

Home / tinai
import App from './app.js';
import Users from './users.js';
import Storage from './storage.js';
import { customConfirm } from './util/confirm-dialog.js';

const users = new Users();

users.checkLoginStatus(async () => {
	const storage = new Storage();
	await storage.init();
	new App(storage);

	const tinAITitle = document.getElementById('id-title-tinai');
	if (tinAITitle) {
		tinAITitle.addEventListener('click', async () => {
			if (await customConfirm('Refresh App', 'Do you want to refresh the page and invalidate cached files?')) {
				location.reload();
			}
		});
	}
});
🌐
indexjs.js ×
Type: Web, text/x-java
580 Bytes
Last Modified 2026-09-23 02:24:38
⬇ Download File