mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
small change to ajaxify to ignore href='#', added some design to future features, up for grabs if anybody wants to do them
This commit is contained in:
@@ -61,6 +61,8 @@ var ajaxify = {};
|
||||
}
|
||||
|
||||
ajaxify.onclick = function(ev) {
|
||||
if (this.href == window.location.href + "#") return;
|
||||
console.log(this.href);
|
||||
var url = this.href.replace(rootUrl +'/', '');
|
||||
|
||||
if (ajaxify.go(url)) {
|
||||
|
||||
Reference in New Issue
Block a user