Commit f67213736fb2ec7f6f948a8512eae808eea8ba90
1 parent
ac935afa
Exists in
master
Add the tawk.to widget.
/spent 2h
Showing
2 changed files
with
18 additions
and
0 deletions
Show diff stats
flaskr/templates/base.html
... | ... | @@ -0,0 +1,14 @@ |
1 | + | |
2 | +{# Chat widget for tawk.to #} | |
3 | +<script type="text/javascript"> | |
4 | +var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); | |
5 | +(function(){ | |
6 | +var s1=document.createElement("script"); | |
7 | +var s0=document.getElementsByTagName("script")[0]; | |
8 | +s1.async=true; | |
9 | +s1.src='https://embed.tawk.to/5e4a9b00a89cda5a188669a4/default'; | |
10 | +s1.charset='UTF-8'; | |
11 | +s1.setAttribute('crossorigin','*'); | |
12 | +s0.parentNode.insertBefore(s1,s0); | |
13 | +})(); | |
14 | +</script> | ... | ... |