Skip to content

Commit

Permalink
Merge branch '0.8.x' into 0.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer committed Feb 22, 2020
2 parents dee6eab + 91206db commit ae38138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/html/ui/consent.js
Expand Up @@ -19,13 +19,13 @@ Page.init(function(state) {
});
Page.setup(function(state) {
state.finish(function() {
if (!state.consent.ask) return;
var consent = Page.storage.get('consent');
var tacit = consent === null;
if (tacit) tacit = state.consent.get();
if (tacit) {
console.warn("Got tacit consent, please add a Form Consent to this page");
consent = "yes";
if (!state.consent.ask) return;
}
if (consent !== null) {
state.scope.$consent = consent;
Expand Down

0 comments on commit ae38138

Please sign in to comment.