mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 15:08:25 -05:00
Strip off filename and query string for JSONP Remote test.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user