diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-12-25 09:24:21 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-12-25 09:24:21 -0500 |
commit | 9af4065f1c2bc653ceabb35bc7260d8ce6336fca (patch) | |
tree | 7d0612b01f99c03aafd9a6aabeffe0557055e25e | |
parent | 3b2cef4a3f15956737dc4af47649c06d69127641 (diff) |
Alter JavaScript lastParent() to play nice with Firebug
-rw-r--r-- | lib/js/urweb.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js index bd575cc9..474bdaf6 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -298,7 +298,7 @@ function scur(s) { } function lastParent() { - var pos = document; + var pos = document.body; while (pos.lastChild && pos.lastChild.nodeType == 1) pos = pos.lastChild; |