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 e94d387fdd
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 */
!function(){document.querySelector(".disqus-lazy") && disqusLazy()}();
document.querySelectorAll(".kg-product-card a").forEach($a=>{$a.setAttribute("target","");$a.setAttribute("rel","")});