From 7d268ed8a3c445fa91cffe13306b08b0d21d0448 Mon Sep 17 00:00:00 2001 From: Camille Barneaud Date: Tue, 12 Dec 2017 03:19:59 +0100 Subject: [PATCH] Fix error in inject.js --- src/drivers/webextension/js/inject.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/webextension/js/inject.js b/src/drivers/webextension/js/inject.js index 1efd19165..731db3366 100644 --- a/src/drivers/webextension/js/inject.js +++ b/src/drivers/webextension/js/inject.js @@ -21,7 +21,8 @@ var js = {}; Object.keys(properties).forEach(app => { Object.keys(properties[app]).forEach(property => { - if(var content = JSdetection(property)){ + var content = false; + if( content = JSdetection(property) ){ if ( js[appname] === undefined ) { js[appname] = {}; }