1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 05:37:58 +01:00

Fix a typo in revision ae79abb4ff88.

This commit is contained in:
Kris Maglione
2010-12-19 09:45:59 -05:00
parent 5431819524
commit d9b7d909bc
4 changed files with 19 additions and 21 deletions

View File

@@ -1154,7 +1154,10 @@ const Buffer = Module("buffer", {
}
catch (e) {}
let sel = buffer.focusedFrame.getSelection();
try {
var sel = buffer.focusedFrame.getSelection();
}
catch (e) {}
if (!elem && sel && sel.rangeCount)
elem = sel.getRangeAt(0).startContainer;
if (elem)