remove double negation

pull/3094/head
yann300 7 years ago
parent a68d401bc1
commit 24759a529f
  1. 2
      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
}

Loading…
Cancel
Save