From 6bf24792a36a7ee821c959afe4c2e9c95d5af3f6 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Sat, 17 Aug 2019 15:07:25 +0200 Subject: [PATCH] Support hover in table rows. --- biscuit/core/static/js/main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/biscuit/core/static/js/main.js b/biscuit/core/static/js/main.js index 4d763f53f..a523a322d 100644 --- a/biscuit/core/static/js/main.js +++ b/biscuit/core/static/js/main.js @@ -5,6 +5,11 @@ $(document).ready( function () { }); }); + $('*:not(a, span)[data-poload]').each(function() { + $(this).find('a, span').attr('data-poload', $(this).attr('data-poload')); + $(this).removeAttr('data-poload'); + }); + $('*[data-poload]').popover({ html: true, animation: true, -- GitLab