aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/testinit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/data/testinit.js b/test/data/testinit.js
index d9cf8a2eb..fb99badfc 100644
--- a/test/data/testinit.js
+++ b/test/data/testinit.js
@@ -271,7 +271,7 @@ QUnit.config.autostart = false;
this.loadTests = function() {
var loadSwarm,
url = window.location.search,
- basicTests = url.substring( 1 ).split( "&" ).indexOf( "module=basic" ) > -1;
+ basicTests = jQuery.inArray( "module=basic", url.substring( 1 ).split( "&" ) ) > -1;
url = decodeURIComponent( url.slice( url.indexOf( "swarmURL=" ) + "swarmURL=".length ) );
loadSwarm = url && url.indexOf( "http" ) === 0;