From 1c36fbd57b65339a48d00499c1dcce65d75e0920 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 15 Apr 2015 14:45:52 -0400 Subject: [PATCH] fixed #3034 --- 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 ec1c1d03a7..468580fd92 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -255,7 +255,7 @@ $(document).ready(function() { } if (!e.ctrlKey && !e.shiftKey && !e.metaKey && e.which === 1) { - if (this.host === '' || this.host === window.location.host) { + if (this.host === '' || (this.host === window.location.host && this.protocol === window.location.protocol)) { // Internal link var url = this.href.replace(rootUrl + '/', '');