fluoride: Add null check in setPos

This commit is contained in:
r 2024-10-28 15:39:55 +00:00
parent 90eb2628f2
commit 68d7acc2f7

View file

@ -214,6 +214,8 @@ function handleStatusLink(a) {
}
function setPos(el, cx, cy, mw, mh) {
if (!el)
return;
var h = el.clientHeight;
var w = el.clientWidth;
var left, top;