mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
closes #1938
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user