mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 01:34:12 +01:00
Fix buffer.jsm issue.
This commit is contained in:
@@ -1137,7 +1137,7 @@ var Buffer = Module("Buffer", {
|
||||
* @returns {string}
|
||||
*/
|
||||
currentWord: function currentWord(win, select) {
|
||||
let { options } = this.modules;
|
||||
let { Editor, options } = Buffer(win).modules;
|
||||
|
||||
let selection = win.getSelection();
|
||||
if (selection.rangeCount == 0)
|
||||
|
||||
Reference in New Issue
Block a user