Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

213
Views
I am Getting TypeError: Cannot read properties of undefined (reading 'toLowerCase') While Using Comm100 Chat Widget

//html

<div id="comm100-button-6cde6a42-27b8-48a8-be95-b6c8442bb94c"></div>

//Javascript

function Showevent(e)
{
var Comm100API=Comm100API||{};(function(t){function e(e){var a=document.createElement("script"),c=document.getElementsByTagName("script")[0];a.type="text/javascript",a.async=!0,a.src=e+t.site_id,c.parentNode.insertBefore(a,c)}t.chat_buttons=t.chat_buttons||[],t.chat_buttons.push({code_plan:"-----------------------------------",div_id:"-----------------------------------"}),t.site_id=207858,t.main_code_plan="-----------------------------------------",e("https://-----------------------------------"),setTimeout(function(){t.loaded||e("https://-----------------------------------")},5e3)})(Comm100API||{})}

var a = document.body;
var b = window.activeReady=true;
n_var=0;
i_var=[[a,"mousemove"],[a,"scroll"],[a,"keydown"],[a,"click"],[a,"touchstart"],[b,"blur"],[b,"focus"]];
for(r_var=(i_var).length ; n_var<r_var; n_var++)
{
t_var=i_var[n_var];
if(t_var[0].addEventListener(t_var[1],Showevent,{once:true}));
else
{
setTimeout(Showevent, 10000);
}}

It was working fine when I was using this on tawkto chat but when I switched to comm100 for some reason. It's not working. When I put this code out of function Showevent() It starts working. I have tried much but cannaot figure out where the problem is.I want to use same timeout function in comm100 as well.

It was working fine when I was using this on tawkto chat chat but when I switched to comm100 for some reasons. It's not working. When I put this code out of function Showevent() It starts working. I have tried much but cannaot figure out where the problem is.I want to use same timeout function in comm100 as well.

*Swaped dash with private comm100 codes*

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!