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