Commit a5d8a88c authored by Regis's avatar Regis

fix clicking url bar, browser UI, dev tools collapsing the mini_graph

parent 258b090f
......@@ -33,8 +33,10 @@
if (areaExpanded && (areaExpanded.textContent === 'true')) {
const related = e.relatedTarget;
if (!related) {
if (!related && e.sourceCapabilities) {
return this.clearBuilds();
} else if (!related && !e.sourceCapabilities) {
return null;
} else if (!related.parentElement) {
return this.clearBuilds();
} else if (~related.parentElement.parentElement.className.indexOf('js-builds-dropdown-container')) {
......
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