we stopped using -dev versions, so this conditional is unnecessary

v1.18.x
Julian Lam 9 years ago
parent 1b9defdf8b
commit 992bcffcdf

@ -61,9 +61,6 @@ define('admin/general/dashboard', ['semver'], function(semver) {
} else if (semver.gt(latestVersion, version)) {
checkEl.removeClass('alert-info').addClass('alert-danger');
checkEl.append('<p>A new version (v' + latestVersion + ') has been released. Consider upgrading your NodeBB.</p>');
} else if (semver.gt(version, latestVersion)) {
checkEl.removeClass('alert-info').addClass('alert-warning');
checkEl.append('<p>You are running a <strong>development version</strong>! Unintended bugs may occur. <i class="fa fa-warning"></i></p>');
}
});

Loading…
Cancel
Save