We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I encounter an error when the mouse leave the node. After looking the code, I expect it's due to: src/js/event/behavior.js
src/js/event/behavior.js
this.$image.on('mouseleave', function() { const $elements = $(this).find('.hotspot, .item'); $.each($elements, function() { DomHelper.hideElement($(this)[0]); }); const $shareBox = $(this).find('.social-share-box'); DomHelper.hideElement($shareBox[0]); });
Especially this line DomHelper.hideElement($shareBox[0]); where $shareBox can be empty if we use the option to hide the sharing box.
DomHelper.hideElement($shareBox[0]);
$shareBox
The text was updated successfully, but these errors were encountered:
fixed error when share box is hidden - issue #8
628df4a
Hi @Relin !
I just released a fix for this issue. Check for version 2.7.1. Thank you for having reported this issue and for bringing help to solve it!
Sorry, something went wrong.
jpchateau
No branches or pull requests
Hi,
I encounter an error when the mouse leave the node.
After looking the code, I expect it's due to:
src/js/event/behavior.js
Especially this line
DomHelper.hideElement($shareBox[0]);
where$shareBox
can be empty if we use the option to hide the sharing box.The text was updated successfully, but these errors were encountered: