From 957766c1d72eb8780fe41da38a63f872fc0674c1 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 20 Jul 2015 14:51:38 -0400 Subject: [PATCH] fixed #3272 --- public/src/ajaxify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();