diff --git a/index.html b/index.html index ec011264..22037a59 100644 --- a/index.html +++ b/index.html @@ -407,6 +407,11 @@ latestRelease = release.tag_name latestVersion = parseInt(release.tag_name.split('.').join("")); currentVersion = parseInt(json.current_version.split('.').join("")); + + if (currentVersion < 1000) { + currentVersion = currentVersion * 10; + } + if (latestVersion > currentVersion) { $("#updateNotificationBar").html('
' + '×' + @@ -681,6 +686,10 @@ function version( data, type, row ) { var clientVersion = parseInt(row.client_status.version.split('.').join("")); + if (clientVersion < 1000) { + clientVersion = clientVersion * 10; + } + if (latestVersion > clientVersion) { return '
' + data + '
'; } else {