Skip to content

Commit

Permalink
Only change if in not true/false status
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauriC committed Feb 29, 2024
1 parent 6365c9a commit 50d99b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tarteaucitron.js
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ var tarteaucitron = {
tarteaucitron.addClickEventToId("tarteaucitronSaveButton", function () {
var timeoutSaveButton = 0;
tarteaucitron.job.forEach(function(id) {
if (tarteaucitron.state[id] !== true) {
if (tarteaucitron.state[id] !== true && tarteaucitron.state[id] !== false) {
timeoutSaveButton = 500;
tarteaucitron.setConsent(id, false);
}
Expand Down
2 changes: 1 addition & 1 deletion tarteaucitron.min.js

Large diffs are not rendered by default.

0 comments on commit 50d99b3

Please sign in to comment.