diff --git a/public/language/en/global.json b/public/language/en/global.json index c0a97b3c75..f1615549d3 100644 --- a/public/language/en/global.json +++ b/public/language/en/global.json @@ -9,6 +9,7 @@ "logout": "Logout", "logout.title": "You are now logged out.", "logout.message": "You have successfully logged out of NodeBB", + "header.admin": "Admin", "header.recent": "Recent", "header.unread": "Unread", "header.users": "Users", diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index 01b438b7b0..e18881edfe 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -23,7 +23,8 @@ var ajaxify = {}; window.onpopstate = function (event) { // "quiet": If set to true, will not call pushState - if (event !== null && event.state && event.state.url !== undefined) ajaxify.go(event.state.url, null, null, true); + if (event !== null && event.state && event.state.url !== undefined) + ajaxify.go(event.state.url, null, null, true); }; var pagination; @@ -123,7 +124,7 @@ var ajaxify = {}; if (this.getAttribute('data-ajaxify') == 'false') { return; } - + if (!e.ctrlKey && e.which === 1) { if (this.host === window.location.host) { // Internal link diff --git a/public/templates/header.tpl b/public/templates/header.tpl index adceb8c17c..08619acdbd 100644 --- a/public/templates/header.tpl +++ b/public/templates/header.tpl @@ -59,6 +59,10 @@