Fix error in inject.js

main
Camille Barneaud 7 years ago
parent c6b6df773d
commit 7d268ed8a3

@ -21,7 +21,8 @@
var js = {}; var js = {};
Object.keys(properties).forEach(app => { Object.keys(properties).forEach(app => {
Object.keys(properties[app]).forEach(property => { Object.keys(properties[app]).forEach(property => {
if(var content = JSdetection(property)){ var content = false;
if( content = JSdetection(property) ){
if ( js[appname] === undefined ) { if ( js[appname] === undefined ) {
js[appname] = {}; js[appname] = {};
} }