Merge pull request #389 from Janpot/patch-1

Don't add version string if it already exists
main
Elbert Alias 11 years ago
commit 3576c4da8d

@ -95,7 +95,7 @@ var wappalyzer = (function() {
version = version.replace('\\' + i, match ? match : ''); version = version.replace('\\' + i, match ? match : '');
}); });
if ( version ) { if ( version && this.versions.indexOf(version) < 0 ) {
this.versions.push(version); this.versions.push(version);
} }

Loading…
Cancel
Save