Strip off filename and query string for JSONP Remote test.
This commit is contained in:
parent
2301e2a1c3
commit
0fbac16dbe
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ test("jQuery.ajax() - JSONP, Remote", function() {
|
|||
var count = 0;
|
||||
function plus(){ if ( ++count == 4 ) start(); }
|
||||
|
||||
var base = window.location.href.replace(/\?.*$/, "");
|
||||
var base = window.location.href.replace(/[^\/]*$/, "");
|
||||
|
||||
stop();
|
||||
|
||||
|
|
Loading…
Reference in a new issue