Merge "Avoid undefined in Math.max"

This commit is contained in:
jenkins-bot 2020-10-15 07:32:23 +00:00 committed by Gerrit Code Review
commit ed2e476525

View file

@ -460,7 +460,7 @@ ve.init.mw.ArticleTarget.prototype.parseMetadata = function ( response ) {
// the request that gave us the lower revid // the request that gave us the lower revid
this.loading = null; this.loading = null;
// HACK: Load with explicit revid to hopefully prevent this from happening again // HACK: Load with explicit revid to hopefully prevent this from happening again
this.requestedRevId = Math.max( docRevId, this.revid ); this.requestedRevId = Math.max( docRevId || 0, this.revid );
this.load(); this.load();
} }
return false; return false;