Mobile compat
This commit is contained in:
parent
5ceac5bfc3
commit
0f479d3c54
2 changed files with 9 additions and 0 deletions
|
|
@ -75,6 +75,10 @@ body.dark .modal-header {
|
|||
border-bottom: 1px solid #202020 !important;
|
||||
}
|
||||
|
||||
body.dark .btn-close {
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
@keyframes Rotate {
|
||||
0% {
|
||||
filter: hue-rotate(0deg);
|
||||
|
|
|
|||
|
|
@ -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