mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
fixes issue where anchors to internal rss feeds would fail to resolve
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user