diff options
Diffstat (limited to 'lib/js/urweb.js')
-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; |