v1.18.x
Julian Lam 10 years ago
parent 0c6b2b122e
commit 957766c1d7

@ -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();

Loading…
Cancel
Save