Title: JQuery issues
Last modified: November 9, 2020

---

# JQuery issues

 *  Resolved [maxident](https://wordpress.org/support/users/maxident/)
 * (@maxident)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/jquery-issues-13/)
 * Dear Footnotes Team,
 * I recently updated my wordpress version to V5.5.3 and had to install and activate
   the plugin “Enable jQuery Migrate Helper” to be able to do so.
 * The site works great now but I do get a message that there are some existing 
   JQery issues with your plugin “footnotes” (see below)
 * jQuery Migrate Helper — Warnings encountered
 * [http://bestweb/wp-content/plugins/footnotes/js/jquery.tools.min.js](http://bestweb/wp-content/plugins/footnotes/js/jquery.tools.min.js):
   jQuery.browser is deprecated
    [http://bestweb/wp-content/plugins/footnotes/js/jquery.tools.min.js](http://bestweb/wp-content/plugins/footnotes/js/jquery.tools.min.js):
   jQuery.browser is deprecated
 * What could be done to solve this issue?
 * My website setup:
    WP Version V5.5.3 Theme “the Ken” V4.2.1 PHP 7.2.7 mysqul 
   V5.5.45
 * Best regards,
    Max
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjquery-issues-13%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [pewgeuges](https://wordpress.org/support/users/pewgeuges/)
 * (@pewgeuges)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/jquery-issues-13/#post-13640983)
 * [@maxident](https://wordpress.org/support/users/maxident/)
 * Thank you for reporting this issue.
 * Thanks to [@vonpiernik](https://wordpress.org/support/users/vonpiernik/) it is
   solved by making the browser property in jQuery Tools optional [https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762](https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762)
   so it won’t break things [https://wordpress.org/support/topic/after-wp-5-5-upgrade-jquery-is-deprecated/#post-13607911](https://wordpress.org/support/topic/after-wp-5-5-upgrade-jquery-is-deprecated/#post-13607911)
 * The heavy script use has raised criticism but smooth scroll doesn’t seem to work.
   Still hopefully the tooltips will be implemented in a less resource intensive
   and more robust manner using CSS transitions triggered by a few lines of JS, 
   so that enqueuing JS libraries might eventually become a mere option.
 * Best regards,
    [@pewgeuges](https://wordpress.org/support/users/pewgeuges/)
 *  Plugin Contributor [pewgeuges](https://wordpress.org/support/users/pewgeuges/)
 * (@pewgeuges)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/jquery-issues-13/#post-13646041)
 * [@maxident](https://wordpress.org/support/users/maxident/)
 * Thanks again for pointing this out and for helping raise awareness that the plugin
   still falls short of properly migrating from jQuery (UI) Tools to jQuery UI. 
   That is the issue we’re currently working on since it has no viable workaround
   and is causing a functionality outage on at least one website.
 * Indeed jQuery Tools, where the jQuery.browser or $.browser function occurs, is
   outdated and needs to be replaced with jQuery UI, but in the Footnotes plugin
   both are used exclusively for the tooltips. Scroll animation/offset and expand/
   collapse rely on jQuery Core. That’s why I’ve come up suggesting CSS transitions
   for the tooltips. Keeping script usage minimal meets site performance requirements.
 * Yet, scriptless tooltips cannot become the default, because footnote referrers
   are moving targets, and tooltips need to resize to the window edge. Left to default
   behavior, boxes are narrow and only expand in height, AFAICS. CSS-animated tooltips
   shown and hidden by two JS functions only work out well on pages where mouseover
   buttons are e.g. always at line start in a certain table column.
 * Lean solutions are requested and will be implemented. A fixed width for tooltips
   is less of a problem in themes with widgets enabled on at least one side. But
   given lean solutions don’t perform as well, they cannot be more than an option.
 * Many thanks for drawing attention on the need to update the plugin’s tooling!
 * Best regards.
 *  Plugin Contributor [pewgeuges](https://wordpress.org/support/users/pewgeuges/)
 * (@pewgeuges)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/jquery-issues-13/#post-13652161)
 * [@maxident](https://wordpress.org/support/users/maxident/)
 * The plugin’s tooling is now updated in that the use of jQuery.browser has been
   redacted in js/jquery.tools.min.js. It was used in 6 instances, but its use can
   easily be avoided. Every related line is commented in the file header. Our current
   developer version 2.1.1d4 is up-to-date and available at [https://downloads.wordpress.org/plugin/footnotes.zip](https://downloads.wordpress.org/plugin/footnotes.zip)
 * I’ve ended up installing the **Enable jQuery Migrate Helper** plugin and do see
   5 instances of the warning you quoted when checking back with our current v2.1.0.
   Fortunately that is gone. On the project a teammate alerted me yesterday about
   the need to keep in sync with WordPress’ updating jQuery effort, but I couldn’t
   seem to get the tooltips to work on jQuery UI without jQuery Tools, even after
   updating the code to the new complicated syntax with little backcompat, and despite
   downloading and enqueuing a custom package for the tooltip function including
   all effects.
 * Thank you again for your kind reminder.
 * Best regards,
 * [@pewgeuges](https://wordpress.org/support/users/pewgeuges/) of the Footnotes
   plugin team

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘JQuery issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/footnotes_9d9c99.svg)
 * [footnotes](https://wordpress.org/plugins/footnotes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/footnotes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/footnotes/)
 * [Active Topics](https://wordpress.org/support/plugin/footnotes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/footnotes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/footnotes/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [pewgeuges](https://wordpress.org/support/users/pewgeuges/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/jquery-issues-13/#post-13652161)
 * Status: resolved