Skip to content

Node.js based forum software built for the modern web

fixed #3272

Julian Lam957766c1d72e
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js
index 72ddf45d29..7e6b4ddd6d 100644
--- a/public/src/ajaxify.js
+++ b/public/src/ajaxify.js
@@ -263,7 +263,7 @@ $(document).ready(function() {
// Enhancing all anchors to ajaxify...
$(document.body).on('click', 'a', function (e) {
- if (this.target !== '') {
+ if (this.target !== '' || (this.protocol !== 'http:' && this.protocol !== 'https:')) {
return;
} else if (hrefEmpty(this.href) || this.protocol === 'javascript:' || $(this).attr('data-ajaxify') === 'false' || $(this).attr('href') === '#') {
return e.preventDefault();