From 8b03199d5c2c26a74d7c0f4501a6670090bcc6f2 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 9 Jun 2016 14:28:37 -0400 Subject: [PATCH] fixes issue where anchors to internal rss feeds would fail to resolve --- public/src/ajaxify.js | 4 ++++ 1 file changed, 4 insertions(+) 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(); }