originalEvent is undefined
-
Hi there… I’ve been testdriving your plugin “The Events Calendar” and have been running into a javascript error, that according to a google search was reported a few times but there was never an answer to it: When
running the calender view, in the theme I’m using I’m getting aa.originalEvent is undefined
error message. After turing script debugging on it turns out to be
TypeError: event.originalEvent is undefined
var state = event.originalEvent.state;in
\the-events-calendar\src\resources\js\tribe-events-ajax-calendar.js
I added a
if (typeof event.originalEvent !== “undefined”) {
}and the problem is gone. I couldn’t figure out though, what is causing
the problem. I wonder if you’re adding this to the original file or if I have to add this to each and every update ?? or maybe you have some guidiance on how to debug the original problem.Cheers,
Guenter
- The topic ‘originalEvent is undefined’ is closed to new replies.