Warning: event.returnValue deprecated; use standard event.preventDefault()
-
I am running 3.8.1 clean install and Customizr theme, and the only issue Chrome developer tools reports, during page load, is the following warning:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.10.2:4
If it helps narrow-down root cause the following threads point to register_sidebar as possibly linked to this warning:
Event_Organiser Calendar Next and Prev links not working
Event Organiser FAQFYI, I am not using “Event Organiser.” I only mention these because I recall implementing a register_sidebar based upon this Customizr code snippet, and it appears to be possibly incomplete? Not sure; grasping at a few straws here… the before_ and after_ are empty; is this ok?
if (function_exists('register_sidebar')) { register_sidebar(array( 'name' => 'Extra Widget In Socials', 'id' => 'extra-newsletter-widget', 'description' => 'Extra widget in the social links area', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '' )); }
- The topic ‘Warning: event.returnValue deprecated; use standard event.preventDefault()’ is closed to new replies.