mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
prevent dropdowns from closing when clicking inside form element inside dropdown
This commit is contained in:
Vendored
+3
-2
@@ -39,8 +39,9 @@
|
||||
|
||||
, select: function () {
|
||||
var val = this.$menu.find('.active').attr('data-value')
|
||||
this.$element.val(val)
|
||||
this.$element.change();
|
||||
this.$element
|
||||
.val(val)
|
||||
.change()
|
||||
return this.hide()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user