Commit eeadce82 authored by Regis's avatar Regis

update commented documentation to reflect new changes

parent 3b8bca09
...@@ -25,8 +25,9 @@ ...@@ -25,8 +25,9 @@
- when someone clicks outside of the dropdown - when someone clicks outside of the dropdown
In order for this to work: In order for this to work:
- here we setTimeout to give enough time to initialize the request - we check that the event has the correct aria attribute
- but short enough that a subsequent click will reset that state - we make sure that if it does, we check where the event is on the DOM
- we also check to see if the event is on the DOM or the native browser client
*/ */
const areaExpanded = e.currentTarget.attributes['aria-expanded']; const areaExpanded = e.currentTarget.attributes['aria-expanded'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment