spot changes
This commit is contained in:
parent
0029558c1f
commit
67eb4a6bca
1 changed files with 2 additions and 3 deletions
|
|
@ -65,15 +65,14 @@ export default defineUnlistedScript(() => {
|
|||
notification.innerHTML = notificationContent;
|
||||
document.body.appendChild(notification);
|
||||
|
||||
// Force reflow to ensure styles are applied
|
||||
notification.offsetHeight; // Trigger reflow
|
||||
notification.offsetHeight;
|
||||
|
||||
setTimeout(() => {
|
||||
notification.style.opacity = "0";
|
||||
setTimeout(() => {
|
||||
document.body.removeChild(notification);
|
||||
}, 300);
|
||||
}, 4000);
|
||||
}, 4500);
|
||||
}
|
||||
|
||||
function initNotificationListener() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue