forked from rDrama/rDrama
same as last commit
parent
34ac1dec27
commit
eff82be3dc
|
@ -586,11 +586,11 @@ function handleUploadProgress(e, upload_prog) {
|
||||||
|
|
||||||
|
|
||||||
if (screen_width <= 768) {
|
if (screen_width <= 768) {
|
||||||
addEventListener('show.bs.modal', function () {
|
addEventListener('shown.bs.modal', function () {
|
||||||
location.hash = "modal";
|
location.hash = "modal";
|
||||||
});
|
});
|
||||||
|
|
||||||
addEventListener('hide.bs.modal', function () {
|
addEventListener('hidden.bs.modal', function () {
|
||||||
if(location.hash == "#modal") {
|
if(location.hash == "#modal") {
|
||||||
history.back();
|
history.back();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue