Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Force click on showing tooltip
- $('[data-toggle="tooltip"]').on('show.bs.tooltip', function (e) {
- if ($(e.currentTarget).hasClass('swatch-element'))
- {
- $(e.currentTarget).click();
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement