summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRegis <boudinot.regis@yahoo.com>2017-01-15 11:54:28 -0500
committerRegis <boudinot.regis@yahoo.com>2017-01-15 11:54:28 -0500
commiteeadce82f1002ca9e4807b1ce180fcfb30b7b999 (patch)
tree1153c0a91c3bcba0b8c2267613e1ce4e752d552b
parent3b8bca099f4773813e855d6c8507286250c4bed8 (diff)
downloadgitlab-ce-eeadce82f1002ca9e4807b1ce180fcfb30b7b999.tar.gz
update commented documentation to reflect new changes
-rw-r--r--app/assets/javascripts/vue_pipelines_index/stage.js.es65
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/vue_pipelines_index/stage.js.es6 b/app/assets/javascripts/vue_pipelines_index/stage.js.es6
index 04f5d0cd3fe..951aefdea96 100644
--- a/app/assets/javascripts/vue_pipelines_index/stage.js.es6
+++ b/app/assets/javascripts/vue_pipelines_index/stage.js.es6
@@ -25,8 +25,9 @@
- when someone clicks outside of the dropdown
In order for this to work:
- - here we setTimeout to give enough time to initialize the request
- - but short enough that a subsequent click will reset that state
+ - we check that the event has the correct aria attribute
+ - 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'];