fixed calling modal

This commit is contained in:
Beatrice Olivera
2018-08-31 11:29:24 +01:00
parent 18bc693b5c
commit 0b377cbe20
5 changed files with 16 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
import "bootstrap";
const btn = document.getElementById("modalTrigger");
const modal = document.getElementById("myModal");
btn.addEventListener('click', function(event) {
$('#myModal').modal('show');
});