Skip to content

Commit 135cee6

Browse files
committed
do not show the version-info message on stable
1 parent ec3b9c3 commit 135cee6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/setup.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ $(document).ready(function() {
159159
if (repo_url == 'data/') {
160160
document.getElementById("btn-stable").className += ' btn-primary';
161161
dataVersion = "stable";
162-
document.getElementById("version-info").innerHTML += (
163-
`This is the last release of the EMPD, version 1, based on Davis, B.A.S. et al. Veget Hist Archaeobot (2013) 22: 521. <a href="https://doi.org/10.1007/s00334-012-0388-5" target="_blank" class="alert-link">10.1007/s00334-012-0388-5</a>. To view the latest version from Github, click <a href="${urlLatest}" class="alert-link">here</a>.`)
162+
$("#version-info").hide();
164163
} else if (data_repo == "EMPD2/EMPD-data" && user_branch == "master") {
165164
document.getElementById("btn-latest").className += ' btn-primary';
166165
dataVersion = "latest";

0 commit comments

Comments
 (0)