PageSourceSearch

https://tdx.sdbor.edu/TDPortal/Content/Scripts/tdx/dist/modalFocusTrap.min.js?v=20260925225644

js sdbor.edu collected 2026-10-01 11:44:23 UTC 1,638 bytes, 1 lines download raw bytes

1!function(){"use strict";var FOCUSABLE_SELECTOR='a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), iframe, [tabindex]:not([tabindex="-1"])';function trapFocusInModal($modal){$modal&&$modal.length&&($modal[0].focus(),$(document).on("focusin.bs.modal",function(e){0<$(e.target).closest(".ui-datepicker").length||$modal.length&&e.target instanceof HTMLElement&&!$modal[0].contains(e.target)&&$modal.hasClass("in")&&(0<(e=$modal.find(FOCUSABLE_SELECTOR).filter(":visible")).length?e.first():$modal[0]).focus()}),$modal.on("keydown.bs.modal",function(e){"Tab"!==e.key&&9!==e.keyCode||!function(e,$modal){var firstElement,$modal=$modal.find(FOCUSABLE_SELECTOR).filter(":visible");0===$modal.length?e.preventDefault():(firstElement=$modal.first()[0],$modal=$modal.last()[0],e.shiftKey?document.activeElement===firstElement&&(e.preventDefault(),$modal.focus()):document.activeElement===$modal&&"IFRAME"!==$modal.tagName&&(e.preventDefault(),firstElement.focus()))}(e,$modal)}))}function releaseFocusTrap(){$(document).off("focusin.bs.modal"),$(".modal").off("keydown.bs.modal")}$(document).ready(function(){$(document).on("shown.bs.modal",".modal",function(e){trapFocusInModal($(this)),window.TeamDynamix&&"function"==typeof window.TeamDynamix.addDatePickerHelpIcons&&window.TeamDynamix.addDatePickerHelpIcons()}),$(document).on("hidden.bs.modal",".modal",function(e){releaseFocusTrap()})}),window.restoreModalFocusTrap=function(){var $modal=$(".modal.in").first();$modal.length&&trapFocusInModal($modal)},window.disableModalFocusTrap=function(){releaseFocusTrap()}}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.