diff --git a/src/app/editor/contextualListener.js b/src/app/editor/contextualListener.js index c580e9f685..4272caddb9 100644 --- a/src/app/editor/contextualListener.js +++ b/src/app/editor/contextualListener.js @@ -120,7 +120,7 @@ class ContextualListener { _getFn (functions, name) { for (var x in functions) { - if (!!~functions[x].indexOf(name)) { + if (~functions[x].indexOf(name)) { var fn = functions[x] break }