From 2eba28bd7fdeece1feb018e002cc884acef542e0 Mon Sep 17 00:00:00 2001 From: Tobias Hintze Date: Mon, 6 May 2013 14:56:20 +0200 Subject: [PATCH] fix OdtDocument::getText(): use join("") instead of join() to not get "," as separator this somehow slipped through review... --- webodf/lib/ops/OdtDocument.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webodf/lib/ops/OdtDocument.js b/webodf/lib/ops/OdtDocument.js index 1adf1421..9c3ce7ca 100644 --- a/webodf/lib/ops/OdtDocument.js +++ b/webodf/lib/ops/OdtDocument.js @@ -282,7 +282,7 @@ ops.OdtDocument = function OdtDocument(odfCanvas) { } } } - return chardata.join().substr(0, length); + return chardata.join("").substr(0, length); }; /**