mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
define constructor on prototypes
This commit is contained in:
4
js/bootstrap-alert.js
vendored
4
js/bootstrap-alert.js
vendored
@@ -32,7 +32,9 @@
|
||||
|
||||
Alert.prototype = {
|
||||
|
||||
close: function ( e ) {
|
||||
constructor: Alert
|
||||
|
||||
, close: function ( e ) {
|
||||
var $element = $(this)
|
||||
|
||||
$element = $element.hasClass('alert-message') ? $element : $element.parent()
|
||||
|
Reference in New Issue
Block a user