You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<a href="#" class="modal-trigger" data-options='{ "modalId": "example-modal" }'>
<img src="http://placehold.it/50x50">
<span>Boom !</span>
</a>
<div class="modal" id="example-modal">
<a href="#" class="modal-close right">X</a>
<p>This is a modal</p>
<p>This is a modal</p>
<p>This is a modal</p>
<p>This is a modal</p>
</div>
Javascript error :
Uncaught TypeError: Cannot read property 'modalId' of undefined barekit.js:225
dirty fix line 225 :
$(e.target).closest('.modal-trigger').data("options").modalId
instead of
$(e.target).data("options").modalId
The text was updated successfully, but these errors were encountered: