backdrop-contrib / beautytips_node

Display any node page inside a BeautyTip.
GNU General Public License v2.0
0 stars 0 forks source link

The beautytips-node class on a link doesn't trigger the tooltip #4

Closed olafgrabienski closed 6 years ago

olafgrabienski commented 6 years ago

The module is supposed to display a tooltip which displays node content when an editor adds the class beautytips-node to an internal node link. That doesn't work at the moment, but it works when the class is instead added to a surrounding element. Examples:

olafgrabienski commented 6 years ago

Note: The second example with the surrounding span element works only partially: The tooltip with node content is displayed on hover, but it doesn't disappear again when the mouse leaves the element. Maybe related to https://github.com/Graham-72/beautytips_node/issues/5?

olafgrabienski commented 6 years ago

@Graham-72 Great work, the fix looks good on my test site where the beautytips-node class on a link now does trigger the tooltip.

olafgrabienski commented 6 years ago

the beautytips-node class on a link now does trigger the tooltip

So, this is fixed, thanks again! (Closing the issue.)