Skip to content

Commit

Permalink
optional branding
Browse files Browse the repository at this point in the history
  • Loading branch information
NizamLZ committed Nov 10, 2017
1 parent cfc1220 commit df25505
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/assets/embed/ana-web-chat-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
main: () => {
let script = document.getElementById("ana-web-chat-script");
let showBranding = script.getAttribute("data-show-branding") || false;
let stompEndpoint = script.getAttribute("data-endpoint");
let businessId = script.getAttribute("data-businessid");
let apiEndpoint = script.getAttribute("data-api-endpoint");
Expand Down Expand Up @@ -282,8 +283,9 @@
position: absolute;
bottom: -20px;
width: 100%;
display: ${showBranding?'block':'none'};
}
.powered-by-ana > div {
display: inline;
/*background-color: #F5F5F5;*/
Expand Down

0 comments on commit df25505

Please sign in to comment.