mirror of
https://git.freesoftwareextremist.com/bloat
synced 2024-12-22 01:00:44 +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