Skip to content

Commit

Permalink
chore:Fix cookie-consent demo (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
tulioag authored May 6, 2021
1 parent 86ffbc5 commit 68841c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private void createCard(String heading, CookieConsent cookieConsent) {
button.addClickListener(e -> {
clearCookieConsent();
this.cookieConsent = cookieConsent;
add(cookieConsent);
this.getElement().appendChild(cookieConsent.getElement());
getUI().get().getPage().executeJavaScript("$0._show()",
cookieConsent.getElement());
});
Expand Down

0 comments on commit 68841c9

Please sign in to comment.