Hey Bob, thanks. It actually uses jquery built in wordpress, as I haven’t seen reason, why to bundle extra jQuery script, when it is already sent to frontend by wordpress itself by default. But might I haven’t seen these cases, that you are experiencing. I’m very open to talk about it. What is your configuration? I mean, are you overriding default wordpress jQuery version? If so, how? Can you send me an error from console that you are experiencing?
Thread Starter
Bob333
(@bob333)
version 1.0.9
Source map error: request failed with status 404
Resource URL: https://www.xxxxxxx.xxx/wp-content/plugins/dp-intro-tours/dist/scriptsandstyles/dpintro-dbf37716.css
Source Map URL: dpintro-dbf37716.css.map
-
This reply was modified 5 years, 1 month ago by
Bob333.
This error should not cause plugin not working, source maps are just for debugging … and I see it just like a warning not error. But thanks for reporting this, I’ll check it.
Let me know please answers I asked … What is your configuration, wordpress version? Are you overriding default wordpress jQuery version? If so, how?
And what exactly is not working … tour doesn’t start at all or there is some bug during tour?
This help me to reproduce it on my dev environment
Thread Starter
Bob333
(@bob333)
> Are you overriding default wordpress jQuery version?
yes
wp_register_script( 'jquery', "https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery{$min}.js", false, '3.4.1' );
> tour doesn’t start at all
yes with version 3.4.1
I see now. Unfortunately there is lot of stuff, which jquery 3.4.1 has changed – it is not compatible with standard wordpress jquery version … I made it run, but it beehives strange as jquery animations are evaluated differently in 3.4.1 … so that would be really difficult to tune it again with new behaviour. What about to load new jquery just for stuff, that you need and not override wordpress jquery?