'jQuery is not defined"
-
Running brand new Sela install with no plugins on latest WP, I get the following in my console:
Uncaught ReferenceError: jQuery is not defined – sela.js?ver=20140813:17
From looking at
functions.php, it seems thatsela-scriptdoesn’t listjqueryas a dependency. That means that there is no jQuery if Sela is loaded by itself, and jQuery may well be loaded aftersela.jseven if another plugin enqueues it.I believe just listing it as a dependency in
wp_enqueue_script( 'sela-script'...would resolve this all.Cheers!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘'jQuery is not defined"’ is closed to new replies.
