refactor: document.onloadに統一、無駄なログ出力を修正

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-07-26 13:44:55 +09:00
parent a5fe271913
commit e27de9951c

View File

@ -10,13 +10,11 @@
window.onload = function(){
// 見出し固定初期化
FixedMidashi.create();
}
$(function(){
// ボタン、テキストボックス初期化
formBtDisabled();
// DatePickerを有効化
enableDatePicker();
});
}
</script>
</head>
@ -288,7 +286,6 @@
$(val).attr('tabindex', '0')
// Enterキー押下時に要素をクリックできるようにイベントを付加する
$(val).on('keypress', function(e) {
console.log(e.code)
if (e.code === 'Enter') {
$(e.target).click()
$(val).off('keypress')