2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00
This commit is contained in:
Mark Otto
2018-04-29 22:22:04 -07:00
parent 139e89235f
commit 496311bf97
31 changed files with 144 additions and 98 deletions
+4 -2
View File
@@ -52,9 +52,11 @@ var Alert = function ($) {
// Public
_proto.close = function close(element) {
element = element || this._element;
var rootElement = this._element;
var rootElement = this._getRootElement(element);
if (element) {
rootElement = this._getRootElement(element);
}
var customEvent = this._triggerCloseEvent(rootElement);