mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 01:24:05 +02:00
add/make visible weakly matched presets
This commit is contained in:
@@ -503,8 +503,8 @@ export function coreContext() {
|
||||
features.init();
|
||||
if (utilStringQs(window.location.hash).presets) {
|
||||
var external = utilStringQs(window.location.hash).presets;
|
||||
presets.fromExternal(external, function(externalPresets){
|
||||
presets = externalPresets; // default + external presets...
|
||||
presets.fromExternal(external, function(externalPresets) {
|
||||
context.presets = function() { return externalPresets; }; // default + external presets...
|
||||
areaKeys = presets.areaKeys();
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user