Commit f9f27432 authored by Regis's avatar Regis

works in browsers without sourceCapabilities API

parent eeadce82
...@@ -36,7 +36,10 @@ ...@@ -36,7 +36,10 @@
const related = e.relatedTarget; const related = e.relatedTarget;
if (!related && e.sourceCapabilities) { if (!related && e.sourceCapabilities) {
return this.clearBuilds(); return this.clearBuilds();
} else if (!related && !e.sourceCapabilities) { } else if (!related && e.sourceCapabilities === null) {
return null;
} else if (!related && e.sourceCapabilities === undefined) {
this.request = false;
return null; return null;
} else if (!related.parentElement) { } else if (!related.parentElement) {
return this.clearBuilds(); return this.clearBuilds();
......
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