forgot to add js
This commit is contained in:
parent
2812843312
commit
be96f3e0b8
|
@ -0,0 +1,13 @@
|
|||
(function() {
|
||||
"use strict";
|
||||
document.querySelectorAll("#apidoc td:first-child").forEach(el => {
|
||||
var text = el.textContent;
|
||||
if (text.startsWith("love")) {
|
||||
el.textContent = "";
|
||||
var link = document.createElement("a");
|
||||
link.href = "https://love2d.org/wiki/"+text.replace(".handlers.", ".");
|
||||
link.textContent = text;
|
||||
el.appendChild(link);
|
||||
};
|
||||
});
|
||||
})();
|
Loading…
Reference in New Issue