diff --git a/src/c3nav/editor/static/editor/js/editor.js b/src/c3nav/editor/static/editor/js/editor.js index 7b34a555..3c7c9ced 100644 --- a/src/c3nav/editor/static/editor/js/editor.js +++ b/src/c3nav/editor/static/editor/js/editor.js @@ -402,7 +402,7 @@ editor = { style.color = '#ffffff'; } } else { - if (editor._sublevel_control.current_level_id !== feature.properties.level) { + if (feature.properties.level !== undefined && editor._sublevel_control.current_level_id !== feature.properties.level) { style.fillOpacity = 0.5; } }