Remove useless console.log() from Modal example

This commit is contained in:
Peta Sittek 2022-05-06 17:49:29 +02:00 committed by Jeremy Thomas
parent 86ab4a4353
commit 8ed98422a7

View File

@ -103,7 +103,6 @@ document.addEventListener('DOMContentLoaded', () => {
(document.querySelectorAll('.js-modal-trigger') || []).forEach(($trigger) => {
const modal = $trigger.dataset.target;
const $target = document.getElementById(modal);
console.log($target);
$trigger.addEventListener('click', () => {
openModal($target);