mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 12:59:05 +02:00
fixes #7776
This commit is contained in:
@@ -64,11 +64,13 @@
|
||||
}
|
||||
|
||||
Popover.prototype.getContent = function () {
|
||||
var content = typeof this.options.content == 'function' ?
|
||||
this.options.content.call(this.$element[0]) :
|
||||
this.options.content
|
||||
var $e = this.$element
|
||||
var o = this.options
|
||||
|
||||
return content || this.$element.attr('data-content')
|
||||
return $e.attr('data-content')
|
||||
|| (typeof o.content == 'function' ?
|
||||
o.content.call($e[0]) :
|
||||
o.content)
|
||||
}
|
||||
|
||||
Popover.prototype.tip = function () {
|
||||
|
Reference in New Issue
Block a user