Skip to content

Commit

Permalink
Update index.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nesaathussholeha committed Nov 6, 2024
1 parent 4f07784 commit 7fb1ccc
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,12 @@ class="btn mb-1 waves-effect waves-light btn-primary btn-detail">Detail</button>
@section('script')
@include('staff.pages.violation-student-list.scripts.create-script')
@include('staff.pages.violation-student-list.scripts.detail')
<script>
$(document).on('click', '[data-repeater-create]', function() {
setTimeout(function() {
$('#violation-student-create .modal-body').scrollTop($(
'#violation-student-create .modal-body')[0].scrollHeight);
}, 100);
});
</script>
@endsection

0 comments on commit 7fb1ccc

Please sign in to comment.