mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Update boot.js
if major, minor and patch are equal, the incoming wins.
This commit is contained in:
parent
d33b525067
commit
70cbb5efc5
@ -375,8 +375,7 @@ $tw.utils.checkVersions = function(versionStringA,versionStringB) {
|
|||||||
];
|
];
|
||||||
return (diff[0] > 0) ||
|
return (diff[0] > 0) ||
|
||||||
(diff[0] === 0 && diff[1] > 0) ||
|
(diff[0] === 0 && diff[1] > 0) ||
|
||||||
(diff[0] === 0 && diff[1] === 0 && diff[2] > 0) ||
|
(diff[0] === 0 && diff[1] === 0 && diff[2] > 0);
|
||||||
(diff[0] === 0 && diff[1] === 0 && diff[2] === 0 && !versionB.prerelease);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user