commit cdcb7533b2b135734130e6f0da8d45057994d02d parent 4438ef9ee8f6ab28159a5c1d9a8a6998cff016c3 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 14 Nov 2008 17:20:21 +0000 Apply the rest of r3775 to trunk Diffstat:
| M | chrome/content/zotero/bindings/itembox.xml | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml @@ -1089,10 +1089,7 @@ valueElement.setAttribute('flex', '1'); } - var firstSpace; - if (typeof valueText == 'string') { - firstSpace = valueText.indexOf(" "); - } + var firstSpace = valueText.indexOf(" "); // To support newlines in 'extra' fields, we use multiple // <description> elements inside a vbox