Node.js based forum software built for the modern web
fix: don't highlight external nav items
Barış Soner Uşaklı8a88295d04ae
diff --git a/public/src/app.js b/public/src/app.jsindex bacbc2309d..1cf4471fb5 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -285,8 +285,8 @@ app.cacheBuster = null;.removeClass('active').find('a').filter(function (i, x) {- return window.location.pathname === x.pathname ||- window.location.pathname.startsWith(x.pathname + '/');+ return window.location.hostname === x.hostname && (window.location.pathname === x.pathname ||+ window.location.pathname.startsWith(x.pathname + '/'));}).parent().addClass('active');