diff --git a/app/assets/javascripts/discourse/app/lib/intercept-click.js b/app/assets/javascripts/discourse/app/lib/intercept-click.js index 62563737603..7c807456b29 100644 --- a/app/assets/javascripts/discourse/app/lib/intercept-click.js +++ b/app/assets/javascripts/discourse/app/lib/intercept-click.js @@ -22,7 +22,7 @@ export default function interceptClick(e) { } const currentTarget = e.currentTarget; - const href = currentTarget.href; + const href = currentTarget.getAttribute("href"); if ( !href ||