MCPcopy Create free account
hub / github.com/TruthHun/BookStack / keydownHandler

Function keydownHandler

static/bootstrap-select-1.13.18/js/bootstrap-select.js:3219–3225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected