PageSourceSearch

https://felicia.md/local/templates/aspro-lite/js/blocks/hint.js

js felicia.md collected 2026-10-04 02:53:40 UTC 677 bytes, 25 lines download raw bytes

1
2$(document).ready(function () {
3  $("html, body").on("mousedown", function (e) {
4    if (typeof e.target.className == "string" && e.target.className.indexOf("adm") < 0) {
5      e.stopPropagation();
6      if (!$(e.target).closest(".hint.active").length) {
7        $(".hint.active .hint__icon").trigger("click");
8      }
9    }
10  })
11
12  $(document).on("click", ".hint", function (e) {
13    let _this = $(this);
14    let target = e.target;
15    
16    e.stopImmediatePropagation();
17    if (!(target.tagName === 'A')) {
18      e.preventDefault();
19    }
20    
21    if (!target.closest('.tooltip')) { 
22      _this.toggleClass("active").find(".tooltip").stop().slideToggle(200);
23    }
24  });
25})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.