MediaWiki:Gadget-tooltipPopup-core.js: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

20 October 2024

13 October 2024

  • curprev 01:3101:31, 13 October 2024Alex talk contribs 851 bytes +851 Created page with "// Adapted from // https://stackoverflow.com/questions/12539006/tooltips-for-mobile-browsers function init() { $('.add-tooltip-popup').click(function () { var $title = $(this).find('.title'); if (!$title.length) { // Remove any existing tooltips $('.add-tooltip-popup .title').remove(); const tooltip = $(document.createElement('span')); tooltip.addClass('title').text($(this).attr('title')); tooltip.css('left', 0); $(thi..."