Skip to content

Commit

Permalink
Merge cf50e21 into 719438a
Browse files Browse the repository at this point in the history
  • Loading branch information
damianszczepanik committed Feb 19, 2019
2 parents 719438a + cf50e21 commit cf56b5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,11 @@ export class AppComponent {
this.ccService.getConfig().content.link = data['cookie.link'];
this.ccService.getConfig().content.policy = data['cookie.policy'];

this.ccService.destroy();//remove previous cookie bar (with default messages)
this.ccService.destroy(); // remove previous cookie bar (with default messages)
this.ccService.init(this.ccService.getConfig()); // update config with translated messages
});
}
}
```

## Credits
Expand Down

0 comments on commit cf56b5b

Please sign in to comment.