fixes #2711 :rage2:

v1.18.x
Julian Lam 10 years ago
parent 0c5c0bf08a
commit 8a581ed1dd

@ -275,7 +275,9 @@ $(document).ready(function() {
// Enhancing all anchors to ajaxify...
$(document.body).on('click', 'a', function (e) {
if (hrefEmpty(this.href) || this.target !== '' || this.protocol === 'javascript:' || $(this).attr('data-ajaxify') === 'false') {
if (this.target !== '') {
return;
} else if (hrefEmpty(this.href) || this.protocol === 'javascript:' || $(this).attr('data-ajaxify') === 'false') {
return e.preventDefault();
}

Loading…
Cancel
Save