Skip to content

Commit

Permalink
Removed functionality to close modal when clicking away from it
Browse files Browse the repository at this point in the history
  • Loading branch information
Ville Mustonen authored and Ville Mustonen committed Aug 22, 2024
1 parent d59a4c8 commit 9305cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/src/js/createModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as bootstrap from 'bootstrap'

export function createModal(modalId, modalTitle, content) {
const modalHTML = `
<div class="modal fade" id="${modalId}Modal" tabindex="-1" aria-labelledby="${modalId}Label" aria-hidden="true">
<div class="modal fade" id="${modalId}Modal" tabindex="-1" role="dialog" data-bs-backdrop="static" aria-labelledby="${modalId}Label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
Expand Down

0 comments on commit 9305cb0

Please sign in to comment.