forked from rDrama/rDrama
1
0
Fork 0

same as last commit

master
Aevann 2023-08-03 13:42:15 +03:00
parent fef1f9b52a
commit 6022699118
1 changed files with 5 additions and 3 deletions

View File

@ -591,9 +591,11 @@ if (screen_width <= 768) {
}); });
document.addEventListener('hidden.bs.modal', (e) => { document.addEventListener('hidden.bs.modal', (e) => {
if (location.hash == `#m-${e.target.id}`) { setTimeout(() => {
history.back(); if (location.hash == `#m-${e.target.id}`) {
} history.back();
}
}, 100);
}); });
window.addEventListener('hashchange', (e) => { window.addEventListener('hashchange', (e) => {