mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 14:50:00 -07:00
Release v2.13.1 - Help modal and navigation improvements
- Add help modal system with keyboard shortcuts reference - Add Main Dashboard button in navigation bar - Make settings modal accessible from all dashboards - Dashboard CSS improvements and consistency fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -97,7 +97,7 @@ const Meshtastic = (function() {
|
||||
/**
|
||||
* Initialize the Leaflet map
|
||||
*/
|
||||
function initMap() {
|
||||
async function initMap() {
|
||||
if (meshMap) return;
|
||||
|
||||
const mapContainer = document.getElementById('meshMap');
|
||||
@@ -111,7 +111,9 @@ const Meshtastic = (function() {
|
||||
window.meshMap = meshMap;
|
||||
|
||||
// Use settings manager for tile layer (allows runtime changes)
|
||||
if (typeof Settings !== 'undefined' && Settings.createTileLayer) {
|
||||
if (typeof Settings !== 'undefined') {
|
||||
// Wait for settings to load from server before applying tiles
|
||||
await Settings.init();
|
||||
Settings.createTileLayer().addTo(meshMap);
|
||||
Settings.registerMap(meshMap);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user