mirror of
https://github.com/myronblair/novacpx
synced 2026-06-30 17:50:41 -05:00
- nova.js: _initCollapsibleNav() exposed as window._initCollapsibleNav - user.js + reseller.js: call _initCollapsibleNav after renderNav() - deploy/novacpx-post-restore.sh: fixes config.ini, pools, vhost, dashboard Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LP9Q4kfCAYAjJnsbHBrViZ
This commit is contained in:
@@ -985,7 +985,7 @@ function renderNav() {
|
||||
</a>`).join('')}
|
||||
</div>`).join('');
|
||||
|
||||
nav.querySelectorAll('[data-page]').forEach(link => {
|
||||
nav.querySelectorAll("[data-page]").forEach(link => {
|
||||
link.addEventListener('click', e => {
|
||||
e.preventDefault();
|
||||
if (window.innerWidth <= 768) {
|
||||
@@ -996,6 +996,7 @@ function renderNav() {
|
||||
userNav(link.dataset.page);
|
||||
});
|
||||
});
|
||||
if (typeof _initCollapsibleNav === 'function') _initCollapsibleNav();
|
||||
}
|
||||
|
||||
window.userNav = (page) => {
|
||||
|
||||
Reference in New Issue
Block a user