E
E
elah022016-03-01 20:36:59
JavaScript
elah02, 2016-03-01 20:36:59

Error in console, function call?

1eef0b2586a04c7f849360450ab48bb9.png
What's wrong? The site has a playbtnclick() function; It starts the game, when I call it from the content_scripts file, it writes this error in the console ((

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AngReload, 2016-03-01
@AngReload

It says there is no such feature.
Check the correct spelling of the function name, the order of connecting files / modules?

W
Walt Disney, 2016-03-01
@ruFelix

1) Check the scope of the playbtnclick function, i.e. if, after everything has loaded, type window.playbtnclick in the console, the output will show that something intelligible is s.m. point 2, if not, think about it.
2) Check the sequence of loading files and starting handlers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question