비번찾기 후 빈 페이지가 나오는 문제 수정

This commit is contained in:
thisgun
2022-09-27 10:12:18 +09:00
parent 27434107e8
commit 85dbbe946a

View File

@ -17,7 +17,17 @@ if($error) {
<script>
alert("<?php echo $msg; ?>");
window.close();
try {
window.close();
} catch(error) {
history.back();
}
setTimeout(function() {
if (window.history.length) {
window.history.back();
}
}, 500);
</script>
<noscript>