Remove underline from image links

This commit is contained in:
GregTheMadMonk 2022-09-27 01:59:33 +03:00
parent 950903c938
commit 37156c79ad

View File

@ -584,4 +584,9 @@
}; };
// Remove `border-bottom` from all `<a>` elements that also contain an `<img>`
document.querySelectorAll("a > img").forEach(
imgEl => { imgEl.parentElement.style.borderBottom = "none" }
);
})(jQuery); })(jQuery);