Removed the absolute URL to readthedocs.org :/

rtd2
Mark Parncutt 2012-03-12 19:14:42 -07:00 committed by Eric Holscher
parent 0edfdaf140
commit 330b149385
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ function instantSearch() {
} else {
jQuery.ajax({
type: 'GET',
url: "http://readthedocs.org/api/v1/file/search/",
url: "/api/v1/file/search/",
data: {format: 'jsonp', q: $("#id_site_search_2").val()},
success: function(searchres, text, xhqr) {
strstart = this.url.indexOf("&q=") + 3;