Node.js based forum software built for the modern web
scroll to the actual subsection in the ACP when clicking on links pointing to that hash
psychobunnye8c40c8dc621
diff --git a/public/src/admin/settings.js b/public/src/admin/settings.jsindex 5495e3b71b..6198984e19 100644--- a/public/src/admin/settings.js+++ b/public/src/admin/settings.js@@ -17,6 +17,13 @@ define('admin/settings', ['uploader'], function (uploader) {$(this).prepend('<a name="' + anchor + '"></a>');$('.section-content ul').append('<li><a href="#' + anchor + '">' + header + '</a></li>');});++ var scrollTo = $('a[name="' + window.location.hash.replace('#', '') + '"]');+ if (scrollTo.length) {+ $('html, body').animate({+ scrollTop: (scrollTo.offset().top) + 'px',+ }, 400);+ }};Settings.prepare = function (callback) {