Initialize Dates in Electron
This commit is contained in:
parent
28535ac64d
commit
9737a4d974
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ Zotero.Date = new function(){
|
||||||
var _monthsWithEnglish;
|
var _monthsWithEnglish;
|
||||||
|
|
||||||
this.init = function () {
|
this.init = function () {
|
||||||
if (!Zotero.isFx || Zotero.isBookmarklet) {
|
if (!(Zotero.isFx || Zotero.isElectron) || Zotero.isBookmarklet) {
|
||||||
throw new Error("Unimplemented");
|
throw new Error("Unimplemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue