aboutsummaryrefslogtreecommitdiff
path: root/static/fluoride.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/fluoride.js')
-rw-r--r--static/fluoride.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/fluoride.js b/static/fluoride.js
index d77b3ee..755c6e7 100644
--- a/static/fluoride.js
+++ b/static/fluoride.js
@@ -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;