Initialize Dates in Electron

This commit is contained in:
Sylvester Keil 2018-07-13 14:03:23 +02:00
parent 28535ac64d
commit 9737a4d974
No known key found for this signature in database
GPG key ID: 878933BCEAB25A10

View file

@ -43,7 +43,7 @@ Zotero.Date = new function(){
var _monthsWithEnglish;
this.init = function () {
if (!Zotero.isFx || Zotero.isBookmarklet) {
if (!(Zotero.isFx || Zotero.isElectron) || Zotero.isBookmarklet) {
throw new Error("Unimplemented");
}