Replace multiple spaces in platform names for full-text searches
Closes #770
This commit is contained in:
parent
a5403b7499
commit
0511d37b07
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue