1$(function () { 2 $("body").on( 3 "mousedown keydown", 4 ".bh-form-manager__field--datepicker .bh-form-manager__field__input", 5 function (event) { 6 if (event.key != "Tab") { 7 openDatepicker($(this)); 8 } 9 }, 10 ); 11 12 function openDatepicker($input) { 13 if (!$("body").hasClass("bhe-state-editing")) { 14 $input.blur(); 15 $input.siblings(".bh-form-manager__field__datepicker").trigger("click"); 16 } 17 } 18 19 $("body").on("change", ".bh-form-manager__field__datepicker", function () { 20 $(this).siblings("input.bh-form-manager__field__input").val($(this).val()); 21 }); 22});
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.