mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Merge "Use parseInt(), not Number.parseInt()"
This commit is contained in:
commit
08afdfadbd
|
@ -340,7 +340,7 @@ ve.init.mw.Target.onLoad = function ( response ) {
|
|||
if ( aboutDoc ) {
|
||||
docRevIdMatches = aboutDoc.match( /revision\/([0-9]*)$/ );
|
||||
if ( docRevIdMatches.length >= 2 ) {
|
||||
docRevId = Number.parseInt( docRevIdMatches[1] );
|
||||
docRevId = parseInt( docRevIdMatches[1] );
|
||||
}
|
||||
}
|
||||
if ( docRevId !== this.revid ) {
|
||||
|
|
Loading…
Reference in a new issue