mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
Switches from Array#filter to jQuery.grep for IE<=8 support
This commit is contained in:
Vendored
+2
-2
@@ -79,7 +79,7 @@
|
||||
|
||||
q = this.query.toLowerCase()
|
||||
|
||||
items = this.data.filter(function (item) {
|
||||
items = jQuery.grep(this.data, function (item) {
|
||||
if (that.matcher(item, q)) return item
|
||||
})
|
||||
|
||||
@@ -249,4 +249,4 @@
|
||||
})
|
||||
})
|
||||
|
||||
}( window.jQuery )
|
||||
}( window.jQuery )
|
||||
|
||||
Reference in New Issue
Block a user