summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-03-06 19:51:08 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-03-06 19:51:08 +0100
commit2199906dcad070c4599c445317f9fb02899d1d0f (patch)
tree38d9994ef6b5eea8b7e013aa695c6f5437df7204
parent57847e6930e768a3ca755bf8e26fce469f22c905 (diff)
downloadgitlab-ce-2199906dcad070c4599c445317f9fb02899d1d0f.tar.gz
Fix JS linting errorzj-create-mattermost-team
-rw-r--r--app/assets/javascripts/behaviors/bind_in_out.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/behaviors/bind_in_out.js b/app/assets/javascripts/behaviors/bind_in_out.js
index 42e4640b84d..886f127b06b 100644
--- a/app/assets/javascripts/behaviors/bind_in_out.js
+++ b/app/assets/javascripts/behaviors/bind_in_out.js
@@ -36,7 +36,7 @@ class BindInOut {
static init(anIn, anOut) {
const out = anOut || document.querySelector(`*[data-bind-out="${anIn.dataset.bindIn}"]`);
- if (!out) return;
+ if (!out) return null;
const bindInOut = new BindInOut(anIn, out);