feat: open product card links in same tab

This commit is contained in:
Tom Vines 2025-08-06 22:13:47 +10:00
parent 4f37370e8d
commit 2c84c7cf0b
Signed by: dragonwocky
SSH Key Fingerprint: SHA256:vCxDSu/DvGebbNiQjCVzOuxKmT8ODOzaLx+dTRtawyk

View File

@ -60,3 +60,5 @@ reframe('.post-content iframe:not(.reframe-off)');
/* Custom settings for disqusLazy */ /* Custom settings for disqusLazy */
!function(){document.querySelector(".disqus-lazy") && disqusLazy()}(); !function(){document.querySelector(".disqus-lazy") && disqusLazy()}();
document.querySelectorAll(".kg-product-card a").forEach($a => { $a.setAttribute("target", ""); $a.setAttribute("rel", "") });