()
| 3217 | |
| 3218 | // get Bootstrap's keydown event handler for either Bootstrap 4 or Bootstrap 3 |
| 3219 | function keydownHandler () { |
| 3220 | if ($.fn.dropdown) { |
| 3221 | // wait to define until function is called in case Bootstrap isn't loaded yet |
| 3222 | var bootstrapKeydown = $.fn.dropdown.Constructor._dataApiKeydownHandler || $.fn.dropdown.Constructor.prototype.keydown; |
| 3223 | return bootstrapKeydown.apply(this, arguments); |
| 3224 | } |
| 3225 | } |
| 3226 | |
| 3227 | $(document) |
| 3228 | .off('keydown.bs.dropdown.data-api') |
nothing calls this directly
no outgoing calls
no test coverage detected