Skip to content

Node.js based forum software built for the modern web

fixes issue where anchors to internal rss feeds would fail to resolve

Julian Lam8b03199d5c2c
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js
index 639669602d..4639acaeca 100644
--- a/public/src/ajaxify.js
+++ b/public/src/ajaxify.js
@@ -303,6 +303,10 @@ $(document).ready(function() {
}
}
+ if (internalLink && $(this).attr('href').endsWith('.rss')) {
+ return;
+ }
+
if (hrefEmpty(this.href) || this.protocol === 'javascript:' || $(this).attr('href') === '#') {
return e.preventDefault();
}