1
0
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:
Kris Maglione
2010-12-23 20:25:09 -05:00
parent c66701339f
commit 909a658338
3 changed files with 39 additions and 43 deletions

View File

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