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
First of all, thank you for this script.
When jquery.countdown.min.js file in the package is included in a page where jQuery is loaded in no-conflict mode the script fails due to the $ variable used in the script. The solution was to wrap the entire thing in a self executing anonymous function: (function( $ ){ // the script. })( jQuery );
The text was updated successfully, but these errors were encountered:
Thank You So Much! This saved me! @rendro Could you add this to the main branch or include something in the documentation about how to use it in no conflict mode(everyone on Wordpress). Without it I was getting javascript error: "Uncaught TypeError: Cannot read property 'each' of undefined"
First of all, thank you for this script.
When jquery.countdown.min.js file in the package is included in a page where jQuery is loaded in no-conflict mode the script fails due to the
$
variable used in the script. The solution was to wrap the entire thing in a self executing anonymous function:(function( $ ){ // the script. })( jQuery );
The text was updated successfully, but these errors were encountered: