www

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

commit 0511d37b07b80cdf67131342642089d7aee13bb4
parent a5403b74995abeabeff7454a126c6b5b69cf34d9
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 22 Jun 2015 11:51:20 -0400

Replace multiple spaces in platform names for full-text searches

Closes #770

Diffstat:
Mchrome/content/zotero/xpcom/fulltext.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js @@ -109,7 +109,7 @@ Zotero.Fulltext = new function(){ this.decoder = Components.classes["@mozilla.org/intl/utf8converterservice;1"]. getService(Components.interfaces.nsIUTF8ConverterService); - var platform = Zotero.platform.replace(' ', '-'); + var platform = Zotero.platform.replace(/ /g, '-'); _pdfConverterFileName = this.pdfConverterName + '-' + platform; _pdfInfoFileName = this.pdfInfoName + '-' + platform; if (Zotero.isWin) {