<commit_before>const $ = jQuery.noConflict()
let currentDom = ''
$(function () {
  $(".tagged").popover({
    trigger: "manual",
    html: true,
    animation: true,
    placement: 'bottom',
    content: function() {
      return currentDom
    }
  }).on("mouseenter", function () {
    var _this = this
    const entryDom = '#entry-' + $(this).data('entryId')
    currentDom = $(entryDom).html()
    $(this).popover("show")
    $(".popover").on("mouseleave", function () {
      $(_this).popover('hide')
    })
  }).on("mouseleave", function () {
    var _this = this
    setTimeout(function () {
      if (!$(".popover:hover").length) {
        $(_this).popover("hide")
      }
    }, 500)
  })
})<commit_msg>Small edits to tooltip event<commit_after>require("expose-loader?$!jquery")
/* global $ */
$.noConflict()
let currentDom = ''
$(function () {
  $(".tagged").popover({
    trigger: "manual",
    html: true,
    animation: false,
    placement: 'bottom',
    content: function () {
      return currentDom
    },
  }).on("mouseenter", function () {
    var _this = this
    const entryDom = '#entry-' + $(this).data('entryId')
    currentDom = $(entryDom).html()
    $(this).popover("show")
    $(".popover").on("mouseleave", function () {
      $(_this).popover('hide')
    })
  }).on("mouseleave", function () {
    var _this = this
    setTimeout(function () {
      if (!$(".popover:hover").length) {
        $(_this).popover("hide")
      }
    }, 300)
  })
})
{'fraction_non_alphanumeric': 0.21099050203527817, 'fraction_numerical': 0.004070556309362279, 'mean_word_length': 2.891820580474934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3367013', 'n_tokens_mistral': 484, 'n_tokens_neox': 473, 'n_words': 91}