@@ -918,12 +912,6 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js
index 2a2b298dca..2e6d9c32a5 100644
--- a/js/bootstrap-popover.js
+++ b/js/bootstrap-popover.js
@@ -72,7 +72,7 @@
}
, destroy: function () {
- this.hide().$element.off(this.options.ns).removeData('popover')
+ this.hide().$element.off('.' + this.type).removeData(this.type)
}
})
@@ -97,7 +97,6 @@
placement: 'right'
, content: ''
, template: '
'
- , ns: '.popover'
})
}(window.jQuery);
\ No newline at end of file
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index fa1c9a6c53..f9447410ec 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -47,8 +47,8 @@
if (this.options.trigger != 'manual') {
eventIn = this.options.trigger == 'hover' ? 'mouseenter' : 'focus'
eventOut = this.options.trigger == 'hover' ? 'mouseleave' : 'blur'
- this.$element.on(eventIn + this.options.ns, this.options.selector, $.proxy(this.enter, this))
- this.$element.on(eventOut + this.options.ns, this.options.selector, $.proxy(this.leave, this))
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
}
this.options.selector ?
@@ -238,7 +238,7 @@
}
, destroy: function () {
- this.hide().$element.off(this.options.ns).removeData('tooltip')
+ this.hide().$element.off('.' + this.type).removeData(this.type)
}
}
@@ -268,7 +268,6 @@
, title: ''
, delay: 0
, html: true
- , ns: '.tooltip'
}
}(window.jQuery);