• Resolved Malae

    (@malae)


    Hello,

    I found jQuery.fn.hover() is deprecated coming from a plugin in the jQuery migrate log file. I fixed the issue by changing to .on('mouseenter mouseleave' function()

    However, on notifying the plugin author, I was told that it was not listed in the jQuery API as deprecated and, after checking, found that it is not, althoug perhaps tthe use of hover as a shortcut is deprecated when used with .on

Viewing 1 replies (of 1 total)
  • Plugin Author Marius L. J.

    (@clorith)

    Hiya,

    This is actually deprecated, which is why you’re getting a warning that it is deprecated from jQuery. Unfortunately it’s not well documented outside of reading the jQuery code it self, due to a lack of documentation-volunteers on the project at the time.

    The details of the deprecations can be found at https://github.com/jquery/jquery/issues/3214 though

Viewing 1 replies (of 1 total)
  • The topic ‘jQuery.fn.hover() is deprecated is false positive’ is closed to new replies.