This commit is contained in:
Julian Lam
2015-04-15 14:45:52 -04:00
parent 2000947cd6
commit 1c36fbd57b

View File

@@ -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 + '/', '');