찜하기 완료 후 2초 후 자동으로 창을 닫는 기능 추가

This commit is contained in:
9700X_PC 2025-07-13 00:13:52 +09:00
parent 7e9dc74a61
commit a532433d9a
1 changed files with 6 additions and 0 deletions

View File

@ -1123,6 +1123,9 @@ class ZzimManager {
if (this.zzimInProgress) {
this.hideProgress();
this.showSuccess(`내 마켓 찜하기 완료! ${markets.length}개 마켓 처리됨`);
setTimeout(() => {
window.close();
}, 2000); // 2초 후 창 닫기
}
} catch (error) {
@ -1179,6 +1182,9 @@ class ZzimManager {
if (this.zzimInProgress) {
this.hideProgress();
this.showSuccess(`품앗이 찜하기 완료! ${mutualMarkets.length}개 마켓 처리됨`);
setTimeout(() => {
window.close();
}, 2000); // 2초 후 창 닫기
}
} catch (error) {