mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix release on upgrade, header and status page
This commit is contained in:
parent
58c4f6cb28
commit
d7c59fffae
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ function set_status(type, message, loading, show_log) {
|
|||
|
||||
function upgrade_check() {
|
||||
var current_version = data.release.version.toLowerCase();
|
||||
var current_branch = current_version.split('.').slice(0, 2).join('.')
|
||||
var current_branch = current_version.split('-')[0].split('.').slice(0, 2).join('.')
|
||||
var candidates = []
|
||||
hide("#status_box");
|
||||
hide("#server_div");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue