www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a78665fdf592e1318b97b4d6c8c1ce3442603a9d
parent eee772d893a1f31729460bd062f7126b0d51b0a6
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon,  7 Feb 2011 00:02:43 +0000

Remove <Fx3.5 code


Diffstat:
Mchrome/content/zotero/xpcom/quickCopy.js | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/chrome/content/zotero/xpcom/quickCopy.js b/chrome/content/zotero/xpcom/quickCopy.js @@ -307,13 +307,7 @@ Zotero.QuickCopy = new function() { var text = Zotero.Utilities.unescapeHTML(textXML.toXMLString()); text = text.replace(new RegExp(ztab, "g"), " "); - if (text.trim) { - text = text.trim(); - } - // TODO: Remove once >=Fx3.5 - else { - text = Zotero.Utilities.trim(text) - } + text = text.trim(); // // Adjustments for the HTML copied to the clipboard