mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-05 19:14:42 +00:00
remove prevent default on focus
This commit is contained in:
parent
366e1e0a6d
commit
501aabf572
4 changed files with 1 additions and 4 deletions
1
docs/assets/js/bootstrap-typeahead.js
vendored
1
docs/assets/js/bootstrap-typeahead.js
vendored
|
|
@ -329,7 +329,6 @@
|
|||
$(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
|
||||
var $this = $(this)
|
||||
if ($this.data('typeahead')) return
|
||||
e.preventDefault()
|
||||
$this.typeahead($this.data())
|
||||
})
|
||||
|
||||
|
|
|
|||
1
docs/assets/js/bootstrap.js
vendored
1
docs/assets/js/bootstrap.js
vendored
|
|
@ -2145,7 +2145,6 @@
|
|||
$(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
|
||||
var $this = $(this)
|
||||
if ($this.data('typeahead')) return
|
||||
e.preventDefault()
|
||||
$this.typeahead($this.data())
|
||||
})
|
||||
|
||||
|
|
|
|||
2
docs/assets/js/bootstrap.min.js
vendored
2
docs/assets/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
1
js/bootstrap-typeahead.js
vendored
1
js/bootstrap-typeahead.js
vendored
|
|
@ -329,7 +329,6 @@
|
|||
$(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
|
||||
var $this = $(this)
|
||||
if ($this.data('typeahead')) return
|
||||
e.preventDefault()
|
||||
$this.typeahead($this.data())
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue