local theindex path is accepted too by browsers

This commit is contained in:
Araq
2016-09-09 21:00:06 +02:00
parent 3dfc866710
commit 0fd935332e

View File

@@ -241,7 +241,7 @@ proc dosearch(value: cstring): Element =
var stuff: Element
{.emit: """
var request = new XMLHttpRequest();
request.open("GET", "http://nim-lang.org/0.15.0/theindex.html", false);
request.open("GET", "theindex.html", false);
request.send(null);
var doc = document.implementation.createHTMLDocument("theindex");