diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index cbdd0a965c..4fc0d84915 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -70,7 +70,6 @@ var ajaxify = {}; app.process_page(); jQuery('#content, #footer').stop(true, true).fadeIn(200, function() { - console.log('done loading'); if(window.location.hash) hash = window.location.hash; if(hash) @@ -93,6 +92,9 @@ var ajaxify = {}; // Enhancing all anchors to ajaxify... $(document.body).on('click', 'a', function(e) { if (this.href == window.location.href + "#") return; + if(this.href.slice(-1) === "#") return; + + var url = this.href.replace(rootUrl +'/', ''); if (this.target !== '') return; diff --git a/public/src/forum/footer.js b/public/src/forum/footer.js index f7557c2499..9c683c13df 100644 --- a/public/src/forum/footer.js +++ b/public/src/forum/footer.js @@ -6,7 +6,7 @@ user_label = document.getElementById('user_label'), active_record = document.getElementById('active_record'), right_menu = document.getElementById('right-menu'); - + socket.emit('user.count', {}); socket.on('user.count', function(data) { num_users.innerHTML = "We currently have " + data.count + " registered users."; diff --git a/public/templates/account.tpl b/public/templates/account.tpl index fe08f3f049..b90d4c307a 100644 --- a/public/templates/account.tpl +++ b/public/templates/account.tpl @@ -86,7 +86,7 @@