/* Launches project gallery lightbox from button on project show pages */

$("#launch-gallery").on("click", function(event) {
  event.preventDefault();
  $("#project-gallery .image:first-child > img").trigger("click");
});
/* Launches project gallery lightbox from button on project show pages */

$("#launch-gallery").on("click", function(event) {
  event.preventDefault();
  document.getElementById('project-gallery').querySelector('.image').click();
});
Fix ordering issue when launching lightgallery from the button
Fix ordering issue when launching lightgallery from the button
