This commit is contained in:
parent
a26a2df198
commit
fb018d9f4a
2
index.js
2
index.js
@ -338,7 +338,7 @@ function GetFirstSubElement(t,r) {
|
|||||||
return t
|
return t
|
||||||
}
|
}
|
||||||
function InsertBefore(p,c) {
|
function InsertBefore(p,c) {
|
||||||
if (p.childNodes > 0) {p.insertBefore(c, p.childNodes[0]);} else {p.appendChild(c);}
|
if (p.childNodes.length > 0) {p.insertBefore(c, p.childNodes[0]);} else {p.appendChild(c);}
|
||||||
}
|
}
|
||||||
function GetNavTextWidth(s) {
|
function GetNavTextWidth(s) {
|
||||||
var st = document.getElementById("st")
|
var st = document.getElementById("st")
|
||||||
|
Loading…
Reference in New Issue
Block a user