Remove <Fx3.5 code

This commit is contained in:
Dan Stillman 2011-02-07 00:02:43 +00:00
parent eee772d893
commit a78665fdf5

View file

@ -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