diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index 5c82a9852a..2d290e7ac5 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -253,7 +253,7 @@ var ajaxify = ajaxify || {}; } 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...