fixed no href-attribute handled as external link

v1.18.x
frissdiegurke 11 years ago
parent e6c9647acf
commit 2d9bc7eee7

@ -253,7 +253,7 @@ var ajaxify = ajaxify || {};
} }
function hrefEmpty(href) { function hrefEmpty(href) {
return href === 'javascript:;' || href === window.location.href + "#" || href.slice(-1) === "#"; return href === '' || href === 'javascript:;' || href === window.location.href + "#" || href.slice(-1) === "#";
} }
// Enhancing all anchors to ajaxify... // Enhancing all anchors to ajaxify...

Loading…
Cancel
Save