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
gdpr-public.js?ver=2.1.0:1 Uncaught TypeError: t[o] is not a function var o = e(this).data("callback"); t[o]()
Maybe there are no callback in the element ? However, i just verify if the function exist before trigger it. var o = e(this).data("callback"); if(typeof t[o] === 'function'){ t[o]() }
I just ran into the same problem. It was looking for the data property with the name callback and a function name to call. But since none is provided, it can't find the function to call.
Activity
brianweyer commentedon Oct 13, 2018
@Matthieu1987 It looks like this is due to
data-callback="closeNotification"missing from https://github.com/trewknowledge/GDPR/blob/develop/public/partials/confirmation-screens.php#L58I just ran into the same problem. It was looking for the
dataproperty with the namecallbackand a function name to call. But since none is provided, it can't find the function to call.wking-io commentedon May 15, 2019
This is still an issue!