From 2199906dcad070c4599c445317f9fb02899d1d0f Mon Sep 17 00:00:00 2001 From: "Z.J. van de Weg" Date: Mon, 6 Mar 2017 19:51:08 +0100 Subject: Fix JS linting error --- app/assets/javascripts/behaviors/bind_in_out.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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); -- cgit v1.2.1