You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
@@ -214,7 +214,7 @@ async function checkMMRL() {
|
||||
MMRL_API = true;
|
||||
} catch (error) {
|
||||
console.error('Permission check failed:', error);
|
||||
permissionPopup.style.display('flex');
|
||||
permissionPopup.style.display = 'flex';
|
||||
MMRL_API = false;
|
||||
}
|
||||
}
|
||||
@@ -317,13 +317,13 @@ window.addEventListener('scroll', () => {
|
||||
|
||||
// Initial load
|
||||
document.addEventListener('DOMContentLoaded', async () => {
|
||||
await initializeAvailableLanguages();
|
||||
const userLang = detectUserLanguage();
|
||||
await loadTranslations(userLang);
|
||||
await checkMMRL();
|
||||
if (!MMRL_API) return;
|
||||
hideFloatingBtn();
|
||||
getModuleVersion();
|
||||
await initializeAvailableLanguages();
|
||||
const userLang = detectUserLanguage();
|
||||
await loadTranslations(userLang);
|
||||
setupMenuToggle();
|
||||
setupLanguageMenu();
|
||||
setupSystemAppMenu();
|
||||
|
||||
Reference in New Issue
Block a user