M
M
mUchenik2017-06-14 11:59:49
JavaScript
mUchenik, 2017-06-14 11:59:49

How to fix the problem with tabs?

All the best and success!
Recently, I noticed a problem of this kind:
There are tabs: Description, Reviews (0), Download, Consumption calculator.
By default, the contents of the DESCRIPTION tab are open.
The contents of the REVIEWS, DOWNLOAD, CALCULATOR tab are hidden, and in order to read it, you need to click on the desired tab.
But lately, all these tabs are open...
This is what the console outputs:

Uncaught Error: ReCAPTCHA placeholder element must be empty
at Wp (recaptcha__ru.js:489)
at recaptcha__ru.js:494
at Jp (recaptcha__ru.js:484)
at recaptcha__ru.js:493
at recaptcha__ru.js:505
/wp-includes/ js/jquery/jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
/wp-content/plugins/contact-form-7/includes/js/scripts.js:45 Uncaught TypeError: wpcf7. toggleSubmit is not a function
at HTMLFormElement. (/wp-content/plugins/contact-form-7/includes/js/scripts.js:45) at HTMLDocument. (/wp-content/plugins/contact-form-7/includes/js/scripts.js:31) at i (/wp-includes/js/jquery/jquery.js:2) at Object.add [as done] (/wp-includes/js/jquery/jquery.js:2)
at Function.each (/wp-includes/js/jquery/jquery.js:2)
at a.fn.init .each (/wp-includes/js/jquery/jquery.js:2)
at n.fn.init.n.fn.ready (/wp-includes/js/jquery/jquery.js:2)
at a.fn.init .n.fn.init (/wp-includes/js/jquery/jquery.js:2)
at a.fn.init (/wp-includes/js/jquery/jquery-migrate.min.js:2)
at n (/wp-includes/js/jquery/jquery.js:2)

Perhaps because of this the whole problem ...
But if so, how to fix these errors?
link to the site itself

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-06-14
@webinar

But lately, all these tabs are open...

Because the script that makes tabs from your divs has not been initialized. And this could happen for many reasons, one of which was an error in the code earlier than initialization.
Open the console, see the errors, fix them.
Judging by the "WORDPRESS" tag, the word console might scare you. Therefore, I would recommend that you go freelancing, pay some money and resolve the issue. It is possible that there is half an hour of work. So the price of the issue with a high probability lies in the range of up to 1000 rubles.
Do not take bread from progers with crutches that you insert yourself. There aren't many left. Let's take care of them and protect them. And it is better to feed and entertain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question