add queryString option to enable notes by default (#8042)

This commit is contained in:
Kyℓe Hensel
2025-01-15 21:29:23 +11:00
committed by GitHub
parent a585e7f946
commit 065b2e6d9e
2 changed files with 6 additions and 1 deletions

View File

@@ -6,9 +6,11 @@ import { dispatch as d3_dispatch } from 'd3-dispatch';
import { modeBrowse } from '../modes/browse';
import { svgPointTransform } from './helpers';
import { services } from '../services';
import { utilStringQs } from '../util';
var hash = utilStringQs(window.location.hash);
var _notesEnabled = false;
var _notesEnabled = !!hash.notes;
var _osmService;