added matomo tracking code to site-plugin
[danixland-site-plugin.git] / baguette / baguetteLoad.js
1 window.addEventListener("load", function() {
2 var options = {
3 captions : function(t) {
4 var e=t.parentElement.getElementsByTagName("figcaption")[0];
5 return!!e&&e.textContent
6 }
7 };
8 baguetteBox.run( ".wp-block-gallery", options);
9 baguetteBox.run( ".wp-block-image", options);
10 });