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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user