Probable typo in dataObject.js

This line just crashed on me during a sync operation in Juris-M 5.0. It looks like a typo.
This commit is contained in:
Frank Bennett 2017-02-27 16:36:47 +09:00 committed by GitHub
parent fa680bbbf5
commit 6b2bf34732

View file

@ -1110,7 +1110,7 @@ Zotero.DataObject.prototype.updateSynced = Zotero.Promise.coroutine(function* (s
}
if (this._changed.primaryData && this._changed.primaryData.synced) {
if (Objects.keys(this._changed.primaryData).length == 1) {
if (Object.keys(this._changed.primaryData).length == 1) {
delete this._changed.primaryData;
}
else {