You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
Hi, using WP 5.0.3, by defualt it enqueue jQuery 1.12.4 since my site uses Bootstrap 4, i need jQuery 3.3.1, but using that i recive an error related to deprecated (window).load, here:
Hi, using WP 5.0.3, by defualt it enqueue jQuery 1.12.4 since my site uses Bootstrap 4, i need jQuery 3.3.1, but using that i recive an error related to deprecated (window).load, here:
/plugins/acf-qtranslate/assets/acf_5/qtranslatex.js
jQuery(window).load(function() {.... line 5)
If i change that for:
jQuery(window).on('load',function() {
Then there´s no error, and by the way i´ve tested on both jQuery versions, 1.12.4 and 3.3.1, function fired, no error.
Yes i know is not the best to change the jQuery version included on WP, but sometimes that´s not posible.
The text was updated successfully, but these errors were encountered: