forked from rDrama/rDrama
1
0
Fork 0

same as last commit

master
Aevann 2023-08-03 13:54:20 +03:00
parent eff82be3dc
commit 2da15d64e4
1 changed files with 4 additions and 4 deletions

View File

@ -586,15 +586,15 @@ function handleUploadProgress(e, upload_prog) {
if (screen_width <= 768) {
addEventListener('shown.bs.modal', function () {
location.hash = "modal";
});
addEventListener('hidden.bs.modal', function () {
if(location.hash == "#modal") {
history.back();
}
});
addEventListener('shown.bs.modal', function () {
location.hash = "modal";
});
addEventListener('hashchange', function () {
if(location.hash != "#modal") {