How to get rid off the warning/error "Use of getPreventDefault() is deprecated. Use defaultPrevented instead."?

1.3k Views Asked by At

I'm using jQuery v1.7.1 in my project. I'm getting following warning/error in Firebug console:

Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.

in a file jquery.js line no.3432

If I click on this file name I get following code lines highlighted from jquery.js:

src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;

How should I get rid off this warning/error?

Can someone please help me in this regard?

Thanks in advance.

If you want I can provide you the whole code of file jquery.js

0

There are 0 best solutions below