mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Strip off filename and query string for JSONP Remote test.
This commit is contained in:
parent
2301e2a1c3
commit
0fbac16dbe
@ -774,7 +774,7 @@ test("jQuery.ajax() - JSONP, Remote", function() {
|
|||||||
var count = 0;
|
var count = 0;
|
||||||
function plus(){ if ( ++count == 4 ) start(); }
|
function plus(){ if ( ++count == 4 ) start(); }
|
||||||
|
|
||||||
var base = window.location.href.replace(/\?.*$/, "");
|
var base = window.location.href.replace(/[^\/]*$/, "");
|
||||||
|
|
||||||
stop();
|
stop();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user