forked from rDrama/rDrama
1
0
Fork 0

same as last commit

master
Aevann 2023-08-03 13:50:12 +03:00
parent 0fe9fe31f6
commit 7051699ffb
1 changed files with 3 additions and 5 deletions

View File

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