Created by: paulingalls
Currently, if you use multiple dropdowns in different parts of the page, only one of the dropdowns successfully clears when you click the background. This only occurs if you are not using javascript to toggle, but are relying on the data attributes to enable dropdown behavior.
The change is to the clearMenus function, which now iterates through each dropdown and clears the open tag from its parent. Before this would only clear the open tag from the first parent.
A test has been added that exposes the problem, but passes with the change.