From d69c4d6d9a0bd0bbbea5401fec3e411cfc5f7198 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Sat, 17 Dec 2016 23:13:10 -0500 Subject: [PATCH] Don't highlight previous parent way (closes #3657) --- modules/modes/select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modes/select.js b/modules/modes/select.js index 5354a9fe1..077fc670c 100644 --- a/modules/modes/select.js +++ b/modules/modes/select.js @@ -117,7 +117,7 @@ export function modeSelect(context, selectedIDs) { function singularParent() { var parents = commonParents(); - if (!parents) { + if (!parents || parents.length === 0) { relatedParent = null; return null; }