diff --git a/content/completion.js b/content/completion.js index 15258dcf..1d7fc84b 100644 --- a/content/completion.js +++ b/content/completion.js @@ -149,6 +149,8 @@ liberator.Completion = function () //{{{ // Things we can dereference if (["object", "string", "function"].indexOf(typeof obj) == -1) continue; + if (/^\[XPCNativeWrapper /.test(obj)) + obj = obj.wrappedJSObject; for (let [k, v] in this.iter(obj)) compl.push([k, liberator.template.highlight(v, true)]); diff --git a/skin/liberator.css b/skin/liberator.css index 8452de35..648ecbf5 100644 --- a/skin/liberator.css +++ b/skin/liberator.css @@ -72,10 +72,7 @@ the terms of any one of the MPL, the GPL or the LGPL. *:-moz-loading, *:-moz-broken { display: none !important; } -.compitem > td { - display: table-cell; - -moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td); -} +.compitem > td { -moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td); } .compitem-td-span { height: 1.5em; display: block; } .compitem[selected=true] { background-color: yellow; }