mirror of
https://git.freesoftwareextremist.com/bloat
synced 2024-10-29 19:40:35 +00:00
fluoride: Add null check in setPos
This commit is contained in:
parent
90eb2628f2
commit
68d7acc2f7
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue