diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-06 19:51:08 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-06 19:51:08 +0100 |
commit | 2199906dcad070c4599c445317f9fb02899d1d0f (patch) | |
tree | 38d9994ef6b5eea8b7e013aa695c6f5437df7204 /app | |
parent | 57847e6930e768a3ca755bf8e26fce469f22c905 (diff) | |
download | gitlab-ce-2199906dcad070c4599c445317f9fb02899d1d0f.tar.gz |
Fix JS linting errorzj-create-mattermost-team
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/behaviors/bind_in_out.js | 2 |
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); |