1
0
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:
Kris Maglione
2011-10-03 03:04:48 -04:00
parent cdd184fe64
commit 0a96a330a8

View File

@@ -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)