1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-06-04 23:12:25 +02:00

Pas de distinction graphique pour le mode séléction active et la

checkbox est caché
This commit is contained in:
Vincent LAURENT 2021-11-09 01:09:21 +01:00
parent a496f122dc
commit 2186a62a57
2 changed files with 4 additions and 4 deletions

View file

@ -231,13 +231,13 @@ loadingTask.promise.then(function(pdf) {
checkbox.disabled = false;
}
document.querySelectorAll('.btn-svg').forEach(function(item) {
/*document.querySelectorAll('.btn-svg').forEach(function(item) {
item.style.borderWidth = "1px";
});
});*/
if(addLock && input_selected) {
var svgButton = document.querySelector('.btn-svg[for="'+input_selected.id+'"]');
svgButton.style.borderWidth = "2px";
//svgButton.style.borderWidth = "2px";
checkbox.checked = true;
return;
}

View file

@ -39,7 +39,7 @@
<button type="button" class="btn-close text-reset d-md-none" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<div class="form-check form-switch mb-2 small">
<div class="form-check form-switch mb-2 small d-none">
<input class="form-check-input" type="checkbox" id="add-lock-checkbox" disabled="disabled">
<label style="cursor: pointer;" class="form-check-label" for="add-lock-checkbox"> Garder la séléction active</label>
</div>