This commit is contained in:
barisusakli
2014-08-02 16:03:28 -04:00
parent 62681c36ef
commit 4fd2973c53

View File

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