2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00
This commit is contained in:
Mark Otto
2016-11-29 21:37:00 -08:00
parent 535fec93cf
commit 59dc3e174d
26 changed files with 36 additions and 73 deletions
+5
View File
@@ -187,6 +187,7 @@ var Tooltip = function ($) {
$.removeData(this.element, this.constructor.DATA_KEY);
$(this.element).off(this.constructor.EVENT_KEY);
$(this.element).closest('.modal').off('hide.bs.modal');
if (this.tip) {
$(this.tip).remove();
@@ -393,6 +394,10 @@ var Tooltip = function ($) {
return _this3._leave(event);
});
}
$(_this3.element).closest('.modal').on('hide.bs.modal', function () {
return _this3.hide();
});
});
if (this.config.selector) {
+1 -1
View File
File diff suppressed because one or more lines are too long