diff --git a/browser/components/bookmarks/content/bookmarks.js b/browser/components/bookmarks/content/bookmarks.js index ddccef8664af..34781f8b2eb9 100644 --- a/browser/components/bookmarks/content/bookmarks.js +++ b/browser/components/bookmarks/content/bookmarks.js @@ -1673,6 +1673,9 @@ function dumpDOM (aElement, aIndent) { if (!aElement) return; + if (typeof(aElement) == "string") + aElement = document.getElementById(aElement); + if (!aIndent) aIndent = 0; for (var i=0; i