Skip to content

Commit 055f85b

Browse files
committed
Changed deprecated $(document).ready() to $(fn)
1 parent 20e7196 commit 055f85b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
- Nieuwe versies van ondersteunende software bibliotheken in gebruik genomen.
2+
- Fix voor jQuery deprecation van `ready()` in de backend.
23

34
**1.10.10 (2023-09-05)**
45

src/admin-location.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const fieldsToggler = (selectFieldId, allFields = [], visibleFields = []) => {
3939
};
4040

4141
// Location type (point, polygon etc.)
42-
$(document).ready(function() {
42+
$(function() {
4343
const allFields = [
4444
'#gh_dim_location_type',
4545
'#gh_dim_location',

0 commit comments

Comments
 (0)