Hide all popup elements by default

This commit is contained in:
varjolintu 2018-04-02 14:23:00 +03:00
parent 7d631b5f94
commit 39b6b24f68
3 changed files with 2 additions and 4 deletions

View file

@ -18,7 +18,7 @@
<button id="btn-choose-credential-fields" class="btn btn-sm btn-warning"><span class="glyphicon glyphicon-list-alt"></span> Choose own credential fields for this page</button>
<button id="lock-database-button" class="btn btn-danger" title="Lock database"><span class="glyphicon glyphicon-lock"></span></button>
<div id="update-available" class="alert alert-danger">
<div id="update-available" class="alert alert-danger" style="display: none">
You use an old version of KeePassXC.
<br />
<a target="_blank" class="alert-link" href="https://keepassxc.org/download">Please download the latest version from keepassxc.org</a>.

View file

@ -6,6 +6,7 @@ function status_response(r) {
$('#configured-and-associated').hide();
$('#configured-not-associated').hide();
$('#lock-database-button').hide();
$('#update-available').hide();
if (!r.keePassXCAvailable) {
$('#error-message').html(r.error);

View file

@ -4,9 +4,6 @@ function updateAvailableResponse(available) {
if (available) {
$('#update-available').show();
}
else {
$('#update-available').hide();
}
}
function initSettings() {