added premium promotion, dropmail.php, dropattach.php, minor update of other files
This commit is contained in:
@@ -217,3 +217,24 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
const fetchInterval = setInterval(fetchStoreEmail, 10000);
|
||||
}, 3000);
|
||||
});
|
||||
|
||||
|
||||
document.addEventListener('promotePremium', function () {
|
||||
setTimeout(() => {
|
||||
const event = new CustomEvent('modal-show', {
|
||||
detail: {
|
||||
name: 'premium',
|
||||
scope: null
|
||||
}
|
||||
});
|
||||
const showText = document.getElementById('premium-modal-limit');
|
||||
showText.classList.remove('hidden');
|
||||
const text1 = document.getElementById('focus-modal-text1');
|
||||
text1.classList.remove('text-accent');
|
||||
text1.classList.add('text-amber-500');
|
||||
const text2 = document.getElementById('focus-modal-text2');
|
||||
text2.classList.remove('text-accent');
|
||||
text2.classList.add('text-amber-500');
|
||||
document.dispatchEvent(event);
|
||||
}, 500);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user