diff --git a/src/js/popover.js b/src/js/popover.js index 819724ea460511fe5cf3c50acd02717462167d74..0a4de27546aa0b3cdae6787d117d58b9765a8fc2 100644 --- a/src/js/popover.js +++ b/src/js/popover.js @@ -74,6 +74,9 @@ $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content) $tip.removeClass('fade top bottom left right in') + + if (this.options.tipId) $tip.attr('id', this.options.tipId) + if (this.options.tipClass) $tip.addClass(this.options.tipClass) // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do // this manually by checking the contents.