mirror of https://github.com/placeAtlas/atlas.git
Fix numerical ID based highlight, formalize numerical ID
This commit is contained in:
parent
1c9bc9b145
commit
cf4b5e58e6
|
@ -254,7 +254,7 @@ window.defaultVariation = defaultVariation
|
|||
let defaultPeriod = variationsConfig[defaultVariation].default
|
||||
window.defaultPeriod = defaultPeriod
|
||||
|
||||
const useNumericalId = false
|
||||
const useNumericalId = true
|
||||
window.useNumericalId = useNumericalId
|
||||
|
||||
console.info(`%cThe 2022 r/place Atlas
|
||||
|
|
|
@ -676,7 +676,7 @@ function highlightEntryFromUrl() {
|
|||
if (!id) return
|
||||
|
||||
const entries = atlas.filter(e => {
|
||||
return e.id === id
|
||||
return e.id.toString() === id
|
||||
})
|
||||
|
||||
if (entries.length !== 1) return
|
||||
|
|
918
web/atlas.json
918
web/atlas.json
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue