mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Pad: Reuse getKeyRevisionNumber
when testing if key rev
This commit is contained in:
parent
79e7697c1c
commit
0d52f985bd
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class Pad {
|
|||
// ex. getNumForAuthor
|
||||
if (authorId !== '') this.pool.putAttrib(['author', authorId]);
|
||||
|
||||
if (newRev % 100 === 0) {
|
||||
if (newRev === this.getKeyRevisionNumber(newRev)) {
|
||||
newRevData.meta.pool = this.pool;
|
||||
newRevData.meta.atext = this.atext;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue