mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 07:45:45 +01:00
Use real key bindings in MOW mode, and also restore the strange key passing behavior of yore. Closes issue #217.
This commit is contained in:
@@ -997,8 +997,12 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
for (let [elem, xml, attr] in iterator) {
|
||||
if (elem = doc.getElementById(elem)) {
|
||||
let node = util.xmlToDom(xml, doc, obj.objects);
|
||||
for (let n in array.iterValues(node.childNodes))
|
||||
doc.dactylOverlayElements.push(n);
|
||||
if (!(node instanceof Ci.nsIDOMDocumentFragment))
|
||||
doc.dactylOverlayElements.push(node);
|
||||
else
|
||||
for (let n in array.iterValues(node.childNodes))
|
||||
doc.dactylOverlayElements.push(n);
|
||||
|
||||
fn(elem, node);
|
||||
for each (let attr in attr || []) // FIXME: Cleanup...
|
||||
if (attr.name() != "highlight")
|
||||
|
||||
Reference in New Issue
Block a user