BigW Consortium Gitlab

Commit a5d8a88c by Regis

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

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