1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-26 01:45:45 +01:00
This commit is contained in:
Kris Maglione
2011-11-05 00:05:44 -04:00
parent abef44ea98
commit 7b38c4a434
2 changed files with 2 additions and 1 deletions

View File

@@ -1456,7 +1456,7 @@ var DOM = Class("DOM", {
* @returns {Node}
*/
fromXML: function fromXML(node, doc, nodes) {
XML.prettyPrinting = false;
XML.ignoreWhitespace = XML.prettyPrinting = false;
if (typeof node === "string") // Sandboxes can't currently pass us XML objects.
node = XML(node);