fixed modal

This commit is contained in:
2026-06-15 11:04:34 +03:00
parent 2f303134c1
commit e20b81c817
3 changed files with 47 additions and 10 deletions
+12
View File
@@ -321,6 +321,18 @@
</div>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
<script src="/static/radio-ui.js"></script>
<script>
if (typeof RadioUI === 'undefined') {
console.error('radio-ui.js not loaded — check /static/radio-ui.js');
window.RadioUI = {
roleLabel: (role) => role || '—',
parseRadioSnapshot: () => ({}),
diffSnapshots: () => new Set(),
formatRadioPanel: () => '—',
renderCompareGrid: () => '—'
};
}
</script>
<script>
const map = L.map('map').setView([55.75, 37.62], 10);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {