mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
local theindex path is accepted too by browsers
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user