Sha256: 049400f3822779b566f9754b5e49dc592ca0fe4164f189264909d95dadf37c30

Contents?: true

Size: 456 Bytes

Versions: 58

Compression:

Stored size: 456 Bytes

Contents

/* eslint-disable no-invalid-this */

$(() => {

  // Foundation requires plugins to be initializated
  setTimeout(function() {

    const $tooltips = $(".tooltip")

    $tooltips.
      on("mouseover", function() {
        $(`[data-keep-on-hover='true'][data-toggle='${this.id}']`).foundation("show");
      }).
      on("mouseout", function() {
        $(`[data-keep-on-hover='true'][data-toggle='${this.id}']`).foundation("hide");
      })
  }, 0);
});

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.8 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.7 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.6 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.26.10 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.26.9 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.5 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.26.8 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.4 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.3 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.26.7 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.26.5 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.2 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.1 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.26.4 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.0 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.26.3 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.0.rc2 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.27.0.rc1 app/packs/src/decidim/tooltip_keep_on_hover.js
decidim-core-0.26.2 app/packs/src/decidim/tooltip_keep_on_hover.js