remove double negation

pull/1/head
yann300 7 years ago
parent daaddd48a8
commit aeea006998
  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