diff --git a/drivers/phantomjs/js/driver.js b/drivers/phantomjs/js/driver.js index c56e78024..0ec60947f 100644 --- a/drivers/phantomjs/js/driver.js +++ b/drivers/phantomjs/js/driver.js @@ -41,15 +41,15 @@ */ displayApps: function() { var - app, + app, cats, apps = [], - cats = [], count = wappalyzer.detected[url] ? Object.keys(wappalyzer.detected[url]).length : 0; wappalyzer.log('driver.displayApps'); if ( count ) { for ( app in wappalyzer.detected[url] ) { + cats = []; wappalyzer.apps[app].cats.forEach(function(cat) { cats.push(wappalyzer.categories[cat]);