main
Ilham Wara Nugroho 2026-02-04 12:03:22 +07:00
parent 6bb675f7c0
commit e12205661c
1 changed files with 18 additions and 0 deletions

View File

@ -362,6 +362,24 @@
getForm(number);
$('.clickModal').on('click',function(){
$('.remove').remove();
const fileType = $(this).data('type');
const title = $(this).data('title');
const url = $(this).data('url');
$('.titleModal').html(title);
if (fileType === 'pdf') {
var body = `<iframe class="remove" src="${url}" width="100%" height=500"></iframe>`;
} else {
var body = `<img class="remove" src="${url}" width="70%" style="max-width:100%; max-height:50%;">`;
}
$('.bodyModal').append(body);
});
});
$('.resume').on('click',function(e){