Skip to content

Commit

Permalink
panel - fix new version notification
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed May 26, 2017
1 parent 7e14efe commit 548eb57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ <h2 data-lang="status"></h2>
}

$('#new_version_dlg .modal-body').html(md.render(response.body.replace('**Changelog**', '').trim()))
$('#new_version_dlg .modal-header small').text(response.name)
if (response.name !== version) $('#new-version-notice').css('display', 'inline-block')
$('#new_version_dlg .modal-header small').text(response.tag_name)
if (response.tag_name !== version) $('#new-version-notice').css('display', 'inline-block')
})
})

Expand Down

0 comments on commit 548eb57

Please sign in to comment.