mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
Pas de distinction graphique pour le mode séléction active et la
checkbox est caché
This commit is contained in:
parent
a496f122dc
commit
2186a62a57
@ -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;
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user