Skip to content

Commit

Permalink
[onboarding] check only major version
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Feb 22, 2019
1 parent 969234d commit 502b6df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ function whatsNewPopup() {
var currentVersionData = versionData[versionData.length - 1];

// Current version string, e.g. 18.08
var currentVersion = currentVersionData.version;
var currentVersion = currentVersionData.version.split(".");
currentVersion = currentVersion[0] + "." + currentVersion[1];

// If Drill is present it should be a Countly Enterprise instance
var isEE = (countlyGlobal.plugins.indexOf("drill") !== -1);
Expand Down

0 comments on commit 502b6df

Please sign in to comment.