/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

document.addEventListener('DOMContentLoaded', function () {
  // Target all image links
  var imageLinks = document.querySelectorAll('a img');

  imageLinks.forEach(function(img) {
    var parentLink = img.parentNode;
    if (parentLink.tagName === 'A') {
      // Remove the href attribute from the parent link
      parentLink.removeAttribute('href');
    }
  });
});