mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 16:45:46 +01:00
Some minor improvements to the previous changeset.
--HG-- branch : bootstrapped
This commit is contained in:
@@ -916,7 +916,7 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
|
||||
for (let [elem, xml, attr] in iterator) {
|
||||
if (elem = window.document.getElementById(elem)) {
|
||||
fn(elem, util.xmlToDom(xml, window.document));
|
||||
fn(elem, util.xmlToDom(xml, window.document, obj.objects));
|
||||
for each (let attr in attr || [])
|
||||
elem.setAttributeNS(attr.namespace(), attr.localName(), attr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user