aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index 7d51c641c..bb5199178 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -3054,9 +3054,9 @@ var Tooltip = (function ($) {
value: function setContent() {
var tip = this.getTipElement();
var title = this.getTitle();
- var method = this.config.html ? 'innerHTML' : 'innerText';
+ var method = this.config.html ? 'html' : 'text';
- $(tip).find(Selector.TOOLTIP_INNER)[0][method] = title;
+ $(tip).find(Selector.TOOLTIP_INNER)[method](title);
$(tip).removeClass(ClassName.FADE).removeClass(ClassName.IN);
@@ -3418,10 +3418,10 @@ var Popover = (function ($) {
var tip = this.getTipElement();
var title = this.getTitle();
var content = this._getContent();
- var titleElement = $(tip).find(Selector.TITLE)[0];
+ var $titleElement = $(tip).find(Selector.TITLE);
- if (titleElement) {
- titleElement[this.config.html ? 'innerHTML' : 'innerText'] = title;
+ if ($titleElement) {
+ $titleElement[this.config.html ? 'html' : 'text'](title);
}
// we use append for html objects to maintain js events