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;
|
MMRL_API = true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Permission check failed:', error);
|
console.error('Permission check failed:', error);
|
||||||
permissionPopup.style.display('flex');
|
permissionPopup.style.display = 'flex';
|
||||||
MMRL_API = false;
|
MMRL_API = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -317,13 +317,13 @@ window.addEventListener('scroll', () => {
|
|||||||
|
|
||||||
// Initial load
|
// Initial load
|
||||||
document.addEventListener('DOMContentLoaded', async () => {
|
document.addEventListener('DOMContentLoaded', async () => {
|
||||||
|
await initializeAvailableLanguages();
|
||||||
|
const userLang = detectUserLanguage();
|
||||||
|
await loadTranslations(userLang);
|
||||||
await checkMMRL();
|
await checkMMRL();
|
||||||
if (!MMRL_API) return;
|
if (!MMRL_API) return;
|
||||||
hideFloatingBtn();
|
hideFloatingBtn();
|
||||||
getModuleVersion();
|
getModuleVersion();
|
||||||
await initializeAvailableLanguages();
|
|
||||||
const userLang = detectUserLanguage();
|
|
||||||
await loadTranslations(userLang);
|
|
||||||
setupMenuToggle();
|
setupMenuToggle();
|
||||||
setupLanguageMenu();
|
setupLanguageMenu();
|
||||||
setupSystemAppMenu();
|
setupSystemAppMenu();
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.permission-popup {
|
.permission-popup {
|
||||||
|
opacity: 1;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
z-index: 2000;
|
z-index: 2000;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user