$()

in static/js/glossary.js [90:110]


    $(".canonical-tag").each(function(){
      var placeholder = $("#placeholder");
      var targetTag = $(this).data("target");
      $(this).mouseenter(function(){
        var tagDescription = $("#" + targetTag + "-description").html();
        placeholder.html(tagDescription);
        placeholder.removeClass('invisible');
      }).mouseleave(function(){
        placeholder.addClass('invisible');
      });

      $(this).click(function(){
        var shouldHide = $(this).hasClass("active-tag");
        if (shouldHide) {
          deactivateTagTerms($(this));
        } else {
          activateTagTerms($(this));
        }
        urlParamLib.updateParams(activeTags);
      });
    });