Mobile compat
This commit is contained in:
parent
5ceac5bfc3
commit
0f479d3c54
2 changed files with 9 additions and 0 deletions
|
|
@ -148,6 +148,7 @@ const bootstrapJobModal = () => {
|
|||
modalHeader.className = 'modal-header';
|
||||
modalHeader.innerHTML = `
|
||||
<h2 class='modal-title'>I'm Looking for a Job!</h2>
|
||||
<button type='button' class='btn-close' id='hireMeModalClose'></button>
|
||||
`;
|
||||
|
||||
const modalBody = document.createElement('div');
|
||||
|
|
@ -185,6 +186,10 @@ const bootstrapJobModal = () => {
|
|||
|
||||
const modalObj = new bootstrap.Modal(modal);
|
||||
modalObj.show();
|
||||
|
||||
document.getElementById('hireMeModalClose').addEventListener('click', () => {
|
||||
modalObj.hide();
|
||||
});
|
||||
};
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue