refactor: document.onloadに統一、無駄なログ出力を修正
This commit is contained in:
parent
a5fe271913
commit
e27de9951c
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user