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
add animation
This commit is contained in:
@@ -13,15 +13,24 @@ const autoButton = document.getElementById('auto-config');
|
||||
const saveButton = document.getElementById('save-patch');
|
||||
|
||||
export function showSecurityPatchDialog() {
|
||||
|
||||
overlay.style.display = 'block';
|
||||
card.style.display = 'block';
|
||||
loadCurrentConfig();
|
||||
setTimeout(() => {
|
||||
overlay.style.opacity = '1';
|
||||
card.style.opacity = '1';
|
||||
loadCurrentConfig();
|
||||
}, 10);
|
||||
}
|
||||
|
||||
// Hide security patch dialog
|
||||
function hideSecurityPatchDialog() {
|
||||
overlay.style.display = 'none';
|
||||
card.style.display = 'none';
|
||||
overlay.style.opacity = '0';
|
||||
card.style.opacity = '0';
|
||||
setTimeout(() => {
|
||||
overlay.style.display = 'none';
|
||||
card.style.display = 'none';
|
||||
}, 200);
|
||||
}
|
||||
|
||||
// Load current configuration
|
||||
|
||||
Reference in New Issue
Block a user