mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 09:07:30 +09:00
Fix error in locallyModified.
This commit is contained in:
parent
45fa852dcc
commit
2a67c7a011
1 changed files with 1 additions and 1 deletions
|
|
@ -1250,7 +1250,7 @@ SyncEngine.prototype = {
|
||||||
// because some state may change during the course of this function and we
|
// because some state may change during the course of this function and we
|
||||||
// need to operate on the original values.
|
// need to operate on the original values.
|
||||||
let existsLocally = this._store.itemExists(item.id);
|
let existsLocally = this._store.itemExists(item.id);
|
||||||
let locallyModified = this._modified.has(item.id);
|
let locallyModified = item.id in this._modified;
|
||||||
|
|
||||||
// TODO Handle clock drift better. Tracked in bug 721181.
|
// TODO Handle clock drift better. Tracked in bug 721181.
|
||||||
let remoteAge = AsyncResource.serverTime - item.modified;
|
let remoteAge = AsyncResource.serverTime - item.modified;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue