mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 14:08:11 +01:00
New prototype ItemList implementation. Faster completion scrolling.
This commit is contained in:
@@ -289,7 +289,7 @@ var Buffer = Module("Buffer", {
|
||||
* @param {Node} elem The element to focus.
|
||||
*/
|
||||
focusElement: function focusElement(elem) {
|
||||
let { dactyl } = this.modules;
|
||||
let { Editor, dactyl } = this.modules;
|
||||
|
||||
let win = elem.ownerDocument && elem.ownerDocument.defaultView || elem;
|
||||
overlay.setData(elem, "focus-allowed", true);
|
||||
|
||||
Reference in New Issue
Block a user