fix: 창 닫기가 필요한 창은 window.open으로 열어야함
This commit is contained in:
@@ -192,6 +192,19 @@ $(function ($) {
|
||||
return false;
|
||||
})
|
||||
|
||||
$('.open-window').on('click', function(e){
|
||||
e.preventDefault();
|
||||
let target = $(e.target as HTMLAnchorElement);
|
||||
while(target.attr('href') === undefined){
|
||||
target = target.parent('a');
|
||||
if(target.length == 0){
|
||||
return;
|
||||
}
|
||||
}
|
||||
const href = target.attr('href');
|
||||
window.open(href);
|
||||
});
|
||||
|
||||
setInterval(myclock, 500);
|
||||
reloadCommandList();
|
||||
activateFlip();
|
||||
|
||||
Reference in New Issue
Block a user