From 70cbb5efc5bad77e4959214ebb0e53c669e774d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20K=C3=BCppers?= Date: Tue, 23 Dec 2014 19:21:54 +0100 Subject: [PATCH] Update boot.js if major, minor and patch are equal, the incoming wins. --- boot/boot.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boot/boot.js b/boot/boot.js index 2daf477b4..9687d5fb4 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -375,8 +375,7 @@ $tw.utils.checkVersions = function(versionStringA,versionStringB) { ]; return (diff[0] > 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 && !versionB.prerelease); + (diff[0] === 0 && diff[1] === 0 && diff[2] > 0); }; /*