Improved update check

This commit is contained in:
Tobias Reich 2014-08-08 23:03:26 +02:00
parent 0908dd75e7
commit c2ca42e584
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
var lychee = {
title: "",
version: "2.6.0",
version: "2.6",
version_code: "020600",
api_path: "php/api.php",
@ -220,7 +220,7 @@ var lychee = {
$.ajax({
url: lychee.update_path,
success: function(data) { if (data!=lychee.version) $("#version span").show(); }
success: function(data) { if (parseInt(data)>parseInt(lychee.version_code)) $("#version span").show(); }
});
},

File diff suppressed because one or more lines are too long